Beispiel #1
0
 public override void OnPlayerEnteredRoom(Player newPlayer)
 {
     if (!Isenter)
     {
         EnterBtn.SetActive(true);
     }
     print("Entered-");
 }
Beispiel #2
0
 public override void OnPlayerLeftRoom(Player otherPlayer)
 {
     print("Left-");
     if (Isenter)
     {
     }
     else
     {
         EnterBtn.SetActive(true);
     }
 }