|
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;
|
|
}
|
|
}
|
|
|
|
}
|