예제 #1
0
    public void initial()
    {
        Debug.Log("InitSystemAndUI");
        m_bGameover       = false;
        m_characterSystem = new CharacterSystem(Instance);
        m_commandSystem   = new CommandSystem(Instance);
        m_gameEventSystem = new GameEventSystem(Instance);
        m_triggerSystem   = new TriggerSystem(Instance);

        m_battleInfoUI = new BattleInfoUI(Instance);

        m_characterSystem.initialize();
        m_commandSystem.initialize();
        m_battleInfoUI.initialize();
        m_gameEventSystem.initialize();

        testInit();
    }
예제 #2
0
 private void Awake()
 {
     _battle = FindObjectOfType <Battle>();
     _info   = FindObjectOfType <BattleInfoUI>();
 }