初始状态

This commit is contained in:
陈向学 2024-08-16 17:54:19 +08:00
parent 7b39d4d90d
commit 8c215ddeac
2 changed files with 1285 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,7 @@ public class StepStateControl : MonoBehaviour
private void Awake()
{
DontDestroyOnLoad(gameObject);
instance = this;
m_Steps = transform.GetComponentsInChildren<StepState>(true).ToList();
m_Steps.ForEach(a=> { a.Init(); });