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

14 lines
304 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) {
GameTransition.Instance.state = GameState.SinglePlayer;
}
}
}