using System.Collections; using System.Collections.Generic; using UnityEngine; public class ButtonReadyUp : ButtonOnClick { public override void OnClick() { if (GameTransition.Instance.state == GameState.Lobby) PlayerProperties.lobbyStatus.SetLocal(!PlayerProperties.lobbyStatus.GetLocal()); } }