15 lines
302 B
C#
15 lines
302 B
C#
|
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();
|
|||
|
}
|
|||
|
|
|||
|
}
|