public static void Setup() { IsSetup = true; if (Instance == null) { return; } NodeFilter <VisibleNode> .New(VisibleNode.GetTypes()); NodeFilter <CharacterNode> .New(CharacterNode.GetTypes()); Get <AnimatorSystem>(); Get <CameraSystem>(); Get <CollisionCheckSystem>(); Get <CommandSystem>(); Get <CollisionEventSystem>(); Get <DespawnEntitySystem>(); Get <DistanceSystem>(); Get <EntityModifierSystem>(); Get <FactionSystem>(); Get <ItemSceneSystem>(); Get <MoverSystem>(); Get <PhysicsMoverSystem>(); Get <RadiusSystem>(); Get <TurnBasedSystem>(); Get <CharacterRectSystem>(); Get <SensorSystem>(); Get <EntityUIPoolSystem>(); EcsDebug.RegisterDebugCommands(); //TODO: default setup here }
public PathfinderMoverSystem() { _grid = World.Get <PathfindingSystem>().Grid; NodeFilter <PathfindMoverNode> .New(PathfindMoverNode.GetTypes()); }
public SensorSystem() { NodeFilter <SensorDetectingNode> .New(SensorDetectingNode.GetTypes()); }