Extensions.GroundCheck
Extension Method in Extensions
Declaration
public static bool GroundCheck(this UnityEngine.CharacterController character, out RaycastHit hit, LayerMask layerMask)Description
Performs a raycast to see if the character is grounded.
Parameters
| character | The character to check. |
| hit | The hit information. |
| layerMask | The layer mask to use. |
Returns
| bool | True if the character is grounded, false otherwise. |