public void WorldUpdate() { bool worldRenderedNow = WorldRendererUtility.WorldRenderedNow; this.renderer.CheckActivateWorldCamera(); if (worldRenderedNow) { Profiler.BeginSample("ExpandableWorldObjectsUpdate()"); ExpandableWorldObjectsUtility.ExpandableWorldObjectsUpdate(); Profiler.EndSample(); Profiler.BeginSample("World.renderer.DrawWorldLayers()"); this.renderer.DrawWorldLayers(); Profiler.EndSample(); Profiler.BeginSample("World.dynamicDrawManager.DrawDynamicWorldObjects()"); this.dynamicDrawManager.DrawDynamicWorldObjects(); Profiler.EndSample(); Profiler.BeginSample("World.features.UpdateFeatures()"); this.features.UpdateFeatures(); Profiler.EndSample(); Profiler.BeginSample("NoiseDebugUI.RenderPlanetNoise()"); NoiseDebugUI.RenderPlanetNoise(); Profiler.EndSample(); } Profiler.BeginSample("WorldComponentUpdate()"); WorldComponentUtility.WorldComponentUpdate(this); Profiler.EndSample(); }
public void WorldTick() { worldPawns.WorldPawnsTick(); factionManager.FactionManagerTick(); worldObjects.WorldObjectsHolderTick(); debugDrawer.WorldDebugDrawerTick(); pathGrid.WorldPathGridTick(); WorldComponentUtility.WorldComponentTick(this); }
public void WorldUpdate() { bool worldRenderedNow = WorldRendererUtility.WorldRenderedNow; renderer.CheckActivateWorldCamera(); if (worldRenderedNow) { ExpandableWorldObjectsUtility.ExpandableWorldObjectsUpdate(); renderer.DrawWorldLayers(); dynamicDrawManager.DrawDynamicWorldObjects(); features.UpdateFeatures(); NoiseDebugUI.RenderPlanetNoise(); } WorldComponentUtility.WorldComponentUpdate(this); }
public void WorldTick() { Profiler.BeginSample("WorldPawnsTick()"); this.worldPawns.WorldPawnsTick(); Profiler.EndSample(); Profiler.BeginSample("FactionManagerTick()"); this.factionManager.FactionManagerTick(); Profiler.EndSample(); Profiler.BeginSample("WorldObjectsHolderTick()"); this.worldObjects.WorldObjectsHolderTick(); Profiler.EndSample(); Profiler.BeginSample("WorldDebugDrawerTick()"); this.debugDrawer.WorldDebugDrawerTick(); Profiler.EndSample(); Profiler.BeginSample("WorldPathGridTick()"); this.pathGrid.WorldPathGridTick(); Profiler.EndSample(); Profiler.BeginSample("WorldComponentTick()"); WorldComponentUtility.WorldComponentTick(this); Profiler.EndSample(); }
public void FinalizeInit() { pathGrid.RecalculateAllPerceivedPathCosts(); AmbientSoundManager.EnsureWorldAmbientSoundCreated(); WorldComponentUtility.FinalizeInit(this); }