Пример #1
0
        protected override void OnStarted()
        {
            Debug.Log("SyncService OnStarted");

            WorldManager.CreateWorld <DemoWorld>();
            UpdateEngine.Init(updateInterval);

            base.OnStarted();
        }
Пример #2
0
        protected override void OnStarted()
        {
            Debug.Log("SyncService OnStarted");

            GameMessageService <CommandComponent> .Init();

            m_world         = WorldManager.CreateWorld <DemoWorld>();
            m_world.IsStart = true;

            UpdateEngine.Init(updateInterval);

            base.OnStarted();
        }