//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(); }
public void InitScoreGUI(ScoreSystem scoreSystem, LevelLoader.Stage currentStage) { scoreGUI.Initialize(scoreSystem, currentStage); }
public void Initialize(ScoreSystem scoreSystem, LevelLoader.Stage currentStage) { this.scoreSystem = scoreSystem; this.currentStage = currentStage; }
public void CycleStage() { stage = NextFromArray <LevelLoader.Stage>(stage, stages); stageText.text = stage.ToString(); }
void LoadCurrentStageName() { currentStage = LevelLoader.ParseStage(PlayerPrefManager.GetString("game_currentstage")); Debug.Log(currentStage.ToString()); }