初始状态
This commit is contained in:
parent
7b39d4d90d
commit
8c215ddeac
File diff suppressed because it is too large
Load Diff
|
@ -20,6 +20,7 @@ public class StepStateControl : MonoBehaviour
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
DontDestroyOnLoad(gameObject);
|
||||||
instance = this;
|
instance = this;
|
||||||
m_Steps = transform.GetComponentsInChildren<StepState>(true).ToList();
|
m_Steps = transform.GetComponentsInChildren<StepState>(true).ToList();
|
||||||
m_Steps.ForEach(a=> { a.Init(); });
|
m_Steps.ForEach(a=> { a.Init(); });
|
||||||
|
|
Loading…
Reference in New Issue