Exemple #1
0
 void OnDestroy()
 {
     if (isLocalPlayer)
     {
         Local = null;
     }
     else
     {
     }
     VoterCounter.ModifyMax(-1);
 }
Exemple #2
0
 void RpcCompleteChoice()
 {
     VoterCounter.ModifyCurr(1);
 }
Exemple #3
0
 void OnDestroy()
 {
     _instance = null;
 }
Exemple #4
0
 void Start()
 {
     Players.Add(this);
     VoterCounter.ModifyMax(1);
 }
Exemple #5
0
 void Awake()
 {
     _instance = this;
     SetCurr(0);
     SetMax(0);
 }