Exemple #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         PlayerRigidbody.isKinematic = true;
         PlayerRigidbody.useGravity  = false;
         PlayerDeathScript.PlayerDeadTrue();
     }
 }