关卡1流程实现(测试版)
This commit is contained in:
@@ -22,10 +22,12 @@ public class GameFlowMgr : Singleton<GameFlowMgr>
|
||||
{
|
||||
throw new System.Exception("请选择关卡");
|
||||
}
|
||||
Debug.Log(levelData.levels[levelData.currentLevelIndex].sceneName);
|
||||
StageSelector.EnterStage(levelData.levels[levelData.currentLevelIndex].sceneName);
|
||||
}
|
||||
public void completeLevel(int index)
|
||||
{
|
||||
levelData.currentLevelIndex = ++index;
|
||||
StageSelector.EnterStage("Stage1");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user