private void disappear() { transform.rotation.SetLookRotation(new Vector3(0, 1, 0), new Vector3(0, 1, 0)); GetComponent <Rigidbody> ().isKinematic = true; mesh.SetActive(false); deathEffect.run(); }
virtual protected void impact() { dead = true; impactEffect.run(); mesh.SetActive(false); }