Esempio n. 1
0
 public void ShowCards(SyncListInt cardlist)
 {
     for (int cnt = 0; cnt < cardlist.Count(); cnt++)
     {
         Debug.Log("SHOWCARDS");
     }
 }
Esempio n. 2
0
 /// <summary> Unity Callback. Called once every frame. </summary>
 void Update()
 {
     if (!IsActive)
     {
         return;
     }
     if (hasAuthority &&
         PlayerManager.Instance.MatchPlayers.Count(p => p.Type.IsActive) > 1 &&
         _stocks.Count(lives => lives > 0) <= 1)
     {
         Match.FinishMatch(false);
     }
 }
Esempio n. 3
0
 public int len()
 {
     Debug.Log("The LENGTH OF LIST IS " + iList.Count());
     return(iList.Count());
 }