// Update is called once per frame void Update() { ug_ServerNetwork.Update(); m_ServerWorld.EntityManager.CompleteAllJobs(); b_EndOfFrame.Update(); }
// Update is called once per frame void Update() { if (m_CommandWindow == null) { m_CommandWindow = FindObjectOfType <CommandWindow>(); if (m_CommandWindow != null) { m_CommandWindow.onMessageSentCallback += OnMessageSentCallback; m_ClientWorld.GetExistingSystem <S_HandleTextReceived>().CommandWindow = m_CommandWindow; } } if (m_FeedbackWindow == null) { m_FeedbackWindow = FindObjectOfType <FeedbackWindow>(); if (m_FeedbackWindow != null) { m_ClientWorld.GetExistingSystem <S_HandleVisorMessageReceived>().FeedbackWindow = m_FeedbackWindow; } } if (m_AssetDatabase == null) { m_AssetDatabase = FindObjectOfType <GameAssetDatabase>(); if (m_AssetDatabase != null) { m_ClientWorld.GetExistingSystem <S_HandleTextReceived>().GameAssetDatabase = m_AssetDatabase; } } ug_Network.Update(); m_ClientWorld.EntityManager.CompleteAllJobs(); b_EndOfFrame.Update(); }