public void UnReadyPlayer(PlayerInput player) { PlayerStuff CurPlayer = CheckedOutPannals[player]; CheckedoutChars.Remove(CurPlayer.SelectedChar); CurPlayer.setReady(false); CurPlayer.Pannal.transform.GetChild(1).gameObject.SetActive(false); }
public void ReadyPlayer(PlayerInput player) { PlayerStuff CurPlayer = CheckedOutPannals[player]; if (!CheckedoutChars.ContainsKey(CurPlayer.SelectedChar)) { CheckedoutChars.Add(CurPlayer.SelectedChar, true); CurPlayer.setReady(true); CurPlayer.Pannal.transform.GetChild(1).gameObject.SetActive(true); } }