14 lines
292 B
C#
14 lines
292 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|