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

#if UNITY_EDITOR
            Assets.InitForEditor();
#endif

            DOTween.Init();
            UI.Init();
            game_loop.Init();
        }
Exemplo n.º 2
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();
        }