Ejemplo n.º 1
0
 private void OnTriggerExit(Collider other)
 {
     if (other.CompareTag("PlayerMoveGroundCheck"))
     {
         this.currentGroundedState = E_GroundedState.NotGrounded;
     }
 }
Ejemplo n.º 2
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("PlayerMoveGroundCheck"))
     {
         this.currentGroundedState = E_GroundedState.Grounded;
         this.firstGrounded        = true;
     }
 }