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

16 lines
313 B
C#
Raw Permalink Normal View History

2020-08-22 07:34:54 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonContinueOption : ButtonOnClick {
public int option;
public override void OnClick() {
if (GameTransition.Instance.state == GameState.Continue){
Rematch.Instance.SelectOption(option);
}
}
}