Пример #1
0
 void OnDestroy()
 {
     if (isLocalPlayer)
     {
         Local = null;
     }
     else
     {
     }
     VoterCounter.ModifyMax(-1);
 }
Пример #2
0
 void Start()
 {
     Players.Add(this);
     VoterCounter.ModifyMax(1);
 }