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

15 lines
302 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonDifficulty : ButtonOnClick {
public int difficulty;
public override void OnClick() {
GameBoardInstance.instance.AIDifficulty = difficulty;
GameBoardInstance.instance.SetupGame();
}
}