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

14 lines
292 B
C#
Raw Permalink Normal View History

2020-08-22 12:55:24 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonCredits : ButtonOnClick {
public override void OnClick() {
if (GameTransition.Instance.state == GameState.Menu){
GameTransition.Instance.state = GameState.Credits;
}
}
}