Exemple #1
0
 private void OnDestroy()
 {
     OnDestroyingRemotePlayer?.Invoke(this);
 }
 private void OnDestroy()
 {
     PhotonNetwork.Destroy(gameObject);
     OnDestroyingRemotePlayer?.Invoke(this);
 }