Example #1
0
 // Local effects of death set here
 public void LocalDie()
 {
     Debug.Log($"Killing local player {PlayerId}");
     _smoothSync.stopLerping();
     _graphics.SetActive(false);
     collider.enabled      = false;
     rigidbody.isKinematic = true;
 }