Exemple #1
0
        protected override void OnStarted()
        {
            Debug.Log("SyncService OnStarted");

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

            base.OnStarted();
        }
        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();
        }