summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Launch.cs
blob: 2f5abe0cd5b291a0c9ce4c7c689f711e94133a26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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);
            }
        }

    }

}