Exemple #1
0
    void Start()
    {
        CurrentLevelVariableManagement.SetGameUIReferences();
        //Initialize the static database.
        ResourceDatabase.InitializeDatabase();
        //Initialize the initial UI elements.
        if (InitializeProfileSwitcher != null)
        {
            InitializeProfileSwitcher();
        }
        else
        {
            Debug.LogError("InitializeProfileSwitcher was null!!");
        }

        CurrentLevelVariableManagement.GetMainGameControl().DefineInitialLevelElements();
    }
Exemple #2
0
    void Start()
    {
        if (InitializeProfessionChoiceManager != null)
        {
            InitializeProfessionChoiceManager();
        }
        else
        {
            Debug.LogError("InitializeProfessionChoiceManager was null!!!");
        }
        if (InitializeProfessionSpeechManager != null)
        {
            InitializeProfessionSpeechManager();
        }
        else
        {
            Debug.LogError("InitializeProfessionSpeechManager was null!");
        }

        Debug.Log("ProfessionEventManager completed");

        CurrentLevelVariableManagement.GetMainGameControl().InitializeProfessionObjects();
    }
Exemple #3
0
 //When the next level is selected.
 public void OnContinueToNextLevelButtonPressed()
 {
     Debug.Log("Would load next level");
     CurrentLevelVariableManagement.GetMainGameControl().OnCurrentLevelCompleted();
 }