You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
996 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
public bool IsPlayerMove;
public bool IsStartEvent;
public bool IsMoveCursor;
public bool IsOpenUI;
public bool IsHasIpad;
public bool IsZhuFan;
public bool IsXiZao;
public bool IsKongTiao;
public bool IsFinishZF;
public bool IsFinishXZ;
public bool IsFinishKT;
public static GameManager _instance;
private void Awake()
{
_instance = this;
IsPlayerMove = true;
IsStartEvent = false;
IsMoveCursor = true;
IsOpenUI = false;
IsHasIpad = false;
IsZhuFan = false;
IsXiZao = false;
IsKongTiao = false;
IsFinishKT = false;
IsFinishXZ = false;
IsFinishZF = false;
}
public static GameManager GetInstance() {
if (!_instance) {
_instance = new GameManager();
}
return _instance;
}
}