using Cysharp.Threading.Tasks; using System; using System.Diagnostics; using UnityEngine; using WS; [ObjectSystem] public class GameManagerAwakeSystem : AwakeSystem { public override void Awake(GameManager self) { self.Awake(); } } [ObjectSystem] public class GameManagerUpdateSyste : UpdateSystem { public override void Update(GameManager self) { self.Update(); } } ///游戏管理器 public class GameManager : SingleComponent { public DataManager Data; public ProcessManager ProcessManager; /// 当前任务分数 public float currentTaskScore; /// 直到当前任务的总分数 public float currentAllScore; public void Awake() { Data = AddComponent(); ProcessManager = AddComponent(); Data.IsGuide = true; } public void Update() { } }