void Start()
 {
     _itemScript   = GameObject.Find("Game manager").GetComponent <Item_script>();
     _gameManager  = GameObject.Find("Game manager").GetComponent <Game_manager>();
     _notification = GameObject.Find("Notification").GetComponent <Ingame_notification_script>();
     _questManager = GameObject.Find("Game manager").GetComponent <Quest_manager_script>();
 }
Пример #2
0
    void Start()
    {
        _characterStats     = GameObject.Find("Game manager").GetComponent <Character_stats>();
        _questManager       = GameObject.Find("Game manager").GetComponent <Quest_manager_script>();
        _conversationScript = GameObject.Find("Game manager").GetComponent <Conversation_script>();
        _gameManager        = GameObject.Find("Game manager").GetComponent <Game_manager>();

        nameText.GetComponent <Text_animation>().startAnim(character_name, 0.01f);
    }
Пример #3
0
    void Start()
    {
        Application.targetFrameRate = 300;

        _characterStats = GameObject.Find("Game manager").GetComponent <Character_stats>();
        _questManager   = gameObject.GetComponent <Quest_manager_script>();
        _spellScript    = gameObject.GetComponent <Spell_script>();

        current_screen = GameObject.Find("Main_screen");

        GameObject.Find("Main_screen").SetActive(true);

        GameObject.Find("Character_customization_screen").SetActive(false);
        GameObject.Find("Character_screen_UI").SetActive(false);
        GameObject.Find("Store_screen_UI").SetActive(false);
        GameObject.Find("Combat_screen_UI").SetActive(false);
        GameObject.Find("Quest_screen_UI").SetActive(false);
        GameObject.Find("Map_screen_UI").SetActive(false);
        GameObject.Find("Spell_screen_UI").SetActive(false);

        navigationBarVisibility();
    }