Ejemplo n.º 1
0
 void OnTriggerExit(Collider collider)
 {
     if ((_FPSController.groundLayer.value & 1 << collider.gameObject.layer) == 1 << collider.gameObject.layer)
     {
         if (_FPSController.groundState == GroundState.Grounded)
         {
             _FPSController.InAir();
         }
     }
 }