Пример #1
0
 public override void OnStopClient()
 {
     if (!hasAuthority)
     {
         return;
     }
     AuthorityOnBuildingDespawned?.Invoke(this);
 }
Пример #2
0
 public override void OnStopClient()
 {
     //Check if you have authority or this event will be raised for everyone
     if (!hasAuthority)
     {
         return;
     }
     AuthorityOnBuildingDespawned?.Invoke(this);
 }