public void ShowCards(SyncListInt cardlist) { for (int cnt = 0; cnt < cardlist.Count(); cnt++) { Debug.Log("SHOWCARDS"); } }
/// <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); } }
public int len() { Debug.Log("The LENGTH OF LIST IS " + iList.Count()); return(iList.Count()); }