public void UpdateState() { if (mState == null) { return; } // 新场景需要异步加载完成 if (mAO != null && !mAO.isDone) { return; } if (mAO != null && mAO.isDone && !mIsRunEnter) { mState.Enter(); mIsRunEnter = true; mAO = null; } mState.UpdateState(); }