Skip to content

Commit 3338a50

Browse files
authored
Update README.md
Quick 5.1p1 query docs update to help with people transitioning. Most of the docs are still a bit out of date!
1 parent c9539f3 commit 3338a50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ void UMyProcessor::ConfigureQueries()
283283
{
284284
MyQuery.AddTagRequirement<FMoverTag>(EMassFragmentPresence::All);
285285
MyQuery.AddRequirement<FHitLocationFragment>(EMassFragmentAccess::ReadOnly, EMassFragmentPresence::Optional);
286+
MyQuery.RegisterWithProcessor(*this);
287+
286288
}
287289
```
288290
Queries are executed by calling the `ForEachEntityChunk` member function with a lambda, passing the related `UMassEntitySubsystem` and `FMassExecutionContext`.

0 commit comments

Comments
 (0)