示例#1
0
    //TODO
    //instead of the current style of menu do this
    //-

    void Awake()
    {
        p1Plane    = Player.PlaneType.GRIFFON;
        p2Plane    = Player.PlaneType.WASP;
        p1Input    = PlayerInput.InputType.KEYBOARD;
        p2Input    = PlayerInput.InputType.GAMEPAD1;
        difficulty = GameDifficulty.DifficultyLevel.NORMAL;
        stage      = LevelLoader.Stage.DEBUG;
        SetVariablesToTextFields();
        planes       = GetPlanes();
        inputs       = GetInputs();
        stages       = GetStages();
        difficulties = GetDifficulties();
    }
示例#2
0
 public void InitScoreGUI(ScoreSystem scoreSystem, LevelLoader.Stage currentStage)
 {
     scoreGUI.Initialize(scoreSystem, currentStage);
 }
示例#3
0
 public void Initialize(ScoreSystem scoreSystem, LevelLoader.Stage currentStage)
 {
     this.scoreSystem  = scoreSystem;
     this.currentStage = currentStage;
 }
示例#4
0
 public void CycleStage()
 {
     stage          = NextFromArray <LevelLoader.Stage>(stage, stages);
     stageText.text = stage.ToString();
 }
示例#5
0
 void LoadCurrentStageName()
 {
     currentStage = LevelLoader.ParseStage(PlayerPrefManager.GetString("game_currentstage"));
     Debug.Log(currentStage.ToString());
 }