TouhouLS/Assets/RealCode/Menu/ButtonS/ButtonReadyUp.cs

13 lines
316 B
C#
Raw Permalink Normal View History

2020-08-22 05:41:26 +00:00
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());
}
}