46 lines
855 B
C#
46 lines
855 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// 应用生命周期,长时间无人操作进入自动化模式(重头自动操作全流程)
|
|
/// 操作后停留在当前模式
|
|
/// </summary>
|
|
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 功能模式
|
|
/// </summary>
|
|
public enum FunMoudle
|
|
{
|
|
Digital,
|
|
MudExtractionProcess,
|
|
ConstructionPlan,
|
|
VOCProgress,
|
|
ProcessRehearsal,
|
|
SewageDisposal,
|
|
EngineeringInfoManagement,
|
|
BIMManager
|
|
}
|