using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 应用生命周期,长时间无人操作进入自动化模式(重头自动操作全流程) /// 操作后停留在当前模式 /// public class LifeCycleManager : MonoBehaviour { public static LifeCycleManager Instance; public FunMoudle funMoudle = FunMoudle.Digital; private void Awake() { Instance = this; DontDestroyOnLoad(gameObject); } // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } } /// /// 功能模式 /// public enum FunMoudle { Digital, MudExtractionProcess, ConstructionPlan, VOCProgress, ProcessRehearsal, SewageDisposal, EngineeringInfoManagement, BIMManager }