public void Hander(int level) { if (level == mLv) { UpdateStage(); CheckIsFinished(); //检查关卡是否结束 } else { if (mNextStageHander != null) { mNextStageHander.Hander(level); } } }
/// <summary> /// 更新关卡 /// </summary> public override void Update() { base.Update(); mRootHander.Hander(mLv); }