Example #1
0
 public static void AddGameLogicSystems(World world)
 {
     AddCommonSystems(world);
     CoreSystemHelper.AddSystems(world);
     TransformSynchronizationSystemHelper.AddSystems(world);
     PlayerLifecycleConfig.AddServerSystems(world);
     world.GetOrCreateManager <CubeMovementSystem>();
     world.GetOrCreateManager <MoveLocalPlayerSystem>();
     world.GetOrCreateManager <TriggerColorChangeSystem>();
     world.GetOrCreateManager <ProcessLaunchCommandSystem>();
     world.GetOrCreateManager <ProcessRechargeSystem>();
     world.GetOrCreateManager <MetricSendSystem>();
     world.GetOrCreateManager <ProcessScoresSystem>();
     world.GetOrCreateManager <CollisionProcessSystem>();
 }
Example #2
0
 public static void AddClientSystems(World world)
 {
     AddCommonSystems(world);
     CoreSystemHelper.AddSystems(world);
     TransformSynchronizationSystemHelper.AddSystems(world);
     PlayerLifecycleConfig.AddClientSystems(world);
     world.GetOrCreateManager <ProcessColorChangeSystem>();
     world.GetOrCreateManager <LocalPlayerInputSync>();
     world.GetOrCreateManager <InitCameraSystem>();
     world.GetOrCreateManager <FollowCameraSystem>();
     world.GetOrCreateManager <InitUISystem>();
     world.GetOrCreateManager <UpdateUISystem>();
     world.GetOrCreateManager <PlayerCommandsSystem>();
     world.GetOrCreateManager <MetricSendSystem>();
 }