예제 #1
0
 public static void AddGameLogicSystems(World world)
 {
     AddLifecycleSystems(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>();
 }
예제 #2
0
 public static void AddClientSystems(World world)
 {
     AddLifecycleSystems(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>();
 }