isValid method

bool isValid(
  1. Component c
)

Check if the given component is an instance of Collider.

Implementation

bool isValid(Component c) => c is Collider;