summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Phase/GamePhase_Dojo.cs
blob: 5ae681c4c1ad5fb27727655d6199b4a913efa537 (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
using LitJson;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WK.Data;

namespace WK
{

    /// <summary>
    /// ѵÁ·µÀ³¡
    /// </summary>
    public class GamePhase_Dojo : GamePhaseBase
    {

        public override IEnumerator<float> OnStart()
        {
            GameSceneManager.Instance.LoadScene(StaticDefine.Scene_Dojo);
            while(!GameSceneManager.Instance.sceneOpt.isDone)
            {
                yield return 0f;
            }
        }

        public override IEnumerator<float> OnEnd()
        {
            yield break;
        }

        public override void OnUpdate(float deltaTime)
        {

        }

    }

}