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

14 lines
288 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonConnectArcade : ButtonOnClick {
public override void OnClick() {
if (GameTransition.Instance.state == GameState.Menu) {
GameBoardInstance.instance.SetupGame();
}
}
}