diff options
author | chai <215380520@qq.com> | 2023-06-13 19:14:40 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-06-13 19:14:40 +0800 |
commit | 6cd3c00b0b1b0a76b690ad0d978ae265de43a371 (patch) | |
tree | 1004e09d96a5a12841443b72adb44a90bbd8d2e7 /WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs | |
parent | e8049efa4a0b462b04e3087402c8485c70432de9 (diff) |
*misc
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs')
-rw-r--r-- | WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs b/WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs new file mode 100644 index 0000000..2f5abe0 --- /dev/null +++ b/WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs @@ -0,0 +1,39 @@ +using MovementEffects; +using System.Collections; +using System.Collections.Generic; +using System.Data; +using Unity.VisualScripting; +using UnityEngine; +using WK.Data; + +namespace WK +{ + + public class GamePhase_Launch : GamePhaseBase + { + + CoroutineHandle m_CoLoadData; + + public override IEnumerator<float> OnStart() + { + m_CoLoadData = DataManager.Instance.AsyncLoadAll(); + + yield break; + } + + public override IEnumerator<float> OnEnd() + { + yield break; + } + + public override void OnUpdate(float deltaTime) + { + if (!m_CoLoadData.IsRunning) + { + //GotoStage(EGamePhase.Dojo); + } + } + + } + +} |