private void Awake() { //初始化演出 system = gameObject; PerformSystem.PerformInit(); //初始化状态机并在状态机中进一步初始化 switch (sceneNum) { case 0: ChangeState(new InitState()); break; case 1: ChangeState(new State14()); break; } }