Пример #1
0
    protected override void Awake()
    {
        ScenesManager.AddScene(this);
        ScenesManager.SetEscapeMethod(ScenesManager.ExitGame);

        popupSystem.InitSystem();
    }
Пример #2
0
    protected override void Awake()
    {
        ScenesManager.AddScene(this);
        ScenesManager.SetEscapeMethod(ScenesManager.ExitGame);

        uiRoot = lobbyUISystem.GetUIRoot();

        lobbyUISystem.InitSystem();
        popupSystem.InitSystem();
    }
Пример #3
0
    protected override void Awake()
    {
        instance = this;

        ScenesManager.AddScene(this);

        tileRoot   = tileRootTrans;
        animalRoot = animalRootTrans;

        Init();

        uiSystem.InitSystem();
        popupSystem.InitSystem();
        tileSystem.InitSystem();

        TestCoder.SetTestCode(KeyCode.Space, TestCode);

        scoreAssistance    = Assistance.GetAssistance(typeof(ScoreAssistance).Name) as ScoreAssistance;
        gameTimeAssistance = Assistance.GetAssistance(typeof(GameTimeAssistance).Name) as GameTimeAssistance;
        petAssistance      = Assistance.GetAssistance(typeof(PetAssistance).Name) as PetAssistance;
    }