Ejemplo n.º 1
0
        void Init()
        {
            self = this;

#if UNITY_EDITOR
            Assets.InitForEditor();
#endif

            DOTween.Init();
            UI.Init();
            game_loop.Init();
        }
Ejemplo n.º 2
0
        void Init()
        {
            self = this;

#if UNITY_EDITOR
            Assets.InitForEditor();
#endif

            UI.Init();

            var ui_start = UI.Open <UIStart>();
            ui_start.Init();
        }
Ejemplo n.º 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();
        }