Example #1
0
        void Init()
        {
            self = this;

#if UNITY_EDITOR
            Assets.InitForEditor();
#endif

            DOTween.Init();
            UI.Init();
            game_loop.Init();
        }
Example #2
0
        void Init()
        {
            self = this;

#if UNITY_EDITOR
            Assets.InitForEditor();
#endif

            UI.Init();

            var ui_start = UI.Open <UIStart>();
            ui_start.Init();
        }
Example #3
0
        void Init()
        {
            self      = this;
            game_loop = new GameLoop();
            combat    = new Combat();

            Application.targetFrameRate = 60;

#if UNITY_EDITOR
            Assets.InitForEditor();
#endif

            UI.Init();
            game_loop.Init();
        }