blob: ddad500a4e304af28adae8daeb9bec0d1afd27da (
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
|
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<float> OnStart()
{
yield break;
}
public override IEnumerator<float> OnEnd()
{
yield break;
}
public override void OnUpdate(float deltaTime)
{
}
protected void GotoStage(EGamePhase target)
{
owner.AsyncLoadPhase(target);
}
}
}
|