void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Terrain")) { m_FirstPersonController.changeJumpingAbility(false); } }
void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Terrain")) { m_FirstPersonController.changeJumpingAbility(false); } }