Пример #1
0
 private void OnDestroy()
 {
     OnDestroyingRemotePlayer?.Invoke(this);
 }
Пример #2
0
 private void OnDestroy()
 {
     PhotonNetwork.Destroy(gameObject);
     OnDestroyingRemotePlayer?.Invoke(this);
 }