public static void RegisterSystems(World world, SystemCategories categories) { var systems = new List <Type>(); if ((categories & SystemCategories.Streaming) == SystemCategories.Streaming) { systems.AddRange(new [] { typeof(SceneSystemGroup), typeof(SceneSystem), typeof(ResolveSceneReferenceSystem), typeof(SceneSectionStreamingSystem) }); } #if !UNITY_DISABLE_MANAGED_COMPONENTS if ((categories & SystemCategories.HybridComponents) == SystemCategories.HybridComponents) { systems.AddRange(new [] { typeof(CompanionGameObjectUpdateSystem), typeof(CompanionGameObjectUpdateTransformSystem) }); } #endif DefaultWorldInitialization.AddSystemsToRootLevelSystemGroups(world, systems); }
public static void RegisterSystems(World world, SystemCategories categories) { var systems = new List <Type>(); if (categories.HasFlag(SystemCategories.Streaming)) { systems.AddRange(new [] { typeof(SceneSystemGroup), typeof(SceneSystem), typeof(ResolveSceneReferenceSystem), typeof(SceneSectionStreamingSystem) }); } DefaultWorldInitialization.AddSystemsToRootLevelSystemGroups(world, systems); }
public static void LogEntry(SystemCategories category, string message) { LogEntry(new SystemCategories[] { category }, message); }
private void SetTextLabel1(SystemCategories category, string text) { lblStatus1.ToolStripStatusInvokeAction(t => t.Text = text); LoggingHelper.LogEntry(category, text); }