2025-01-02 12:15:45 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
using CG.Framework;
|
|
|
|
|
|
using CG.UTility;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
/********************************************************************************
|
|
|
|
|
|
*Create By CG
|
|
|
|
|
|
*Function
|
|
|
|
|
|
*********************************************************************************/
|
|
|
|
|
|
namespace ZXK.LouDiXvMuNiu
|
|
|
|
|
|
{
|
|
|
|
|
|
public class GameManager : MonoSingleton<GameManager>
|
|
|
|
|
|
{
|
|
|
|
|
|
[MyReadOnly]//<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڽ<EFBFBD><DABD>е<EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>
|
|
|
|
|
|
public string _CurModelType = "";
|
|
|
|
|
|
[MyReadOnly]//<2F><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>ʵѵģʽ
|
|
|
|
|
|
public bool _IsTrain = true;
|
|
|
|
|
|
|
|
|
|
|
|
public string _StudentName;
|
|
|
|
|
|
public string _StudentNumber;
|
|
|
|
|
|
|
|
|
|
|
|
public DataNiuHandler _DataNiuHandler = null;
|
|
|
|
|
|
public EventManager _EventManager = null;
|
|
|
|
|
|
|
|
|
|
|
|
public readonly StateContext _StateContext = new StateContext();
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><>ǰapp<70><70><EFBFBD><EFBFBD>
|
|
|
|
|
|
[System.NonSerialized]
|
|
|
|
|
|
public float _CurAppVoice = 0.5f;
|
|
|
|
|
|
//<2F><>ǰapp<70><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
[System.NonSerialized]
|
|
|
|
|
|
public float _CurMouseFlexible = 50.0f;
|
2025-01-14 15:34:07 +08:00
|
|
|
|
public bool _loopPopExplain = true;
|
2025-01-09 18:12:40 +08:00
|
|
|
|
public bool _IsFirstFreeCamera = true;
|
|
|
|
|
|
|
2025-01-02 12:15:45 +08:00
|
|
|
|
protected override void AwakeSelf()
|
|
|
|
|
|
{
|
|
|
|
|
|
base.AwakeSelf();
|
|
|
|
|
|
_DataNiuHandler = new DataNiuHandler();
|
|
|
|
|
|
_StateContext.SetState(new HomeState(_StateContext));
|
|
|
|
|
|
_EventManager = new EventManager();
|
|
|
|
|
|
}
|
|
|
|
|
|
private void Update()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
if (Input.GetKeyDown(KeyCode.Escape))
|
|
|
|
|
|
{
|
|
|
|
|
|
UtilitiesMng.CustomQuit();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|