using Microsoft.Unity.VisualStudio.Editor; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace WK { public class GamePhaseBase : AsyncStatemachine.State { protected GamePhaseManager owner = GamePhaseManager.Instance; public override IEnumerator OnStart() { yield break; } public override IEnumerator OnEnd() { yield break; } public override void OnUpdate(float deltaTime) { } protected void GotoStage(EGamePhase target) { owner.AsyncLoadPhase(target); } } }