Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
protected void Die() { rigidbody.gravityScale = 1; AI.ClearPath(); AI.AIEnabled = false; //rigidbody.simulated = false; //collider.enabled = false; Debug.Log("Dead"); //Play death animation }