Class CoherenceTagQuery
The tag query is a component that filters what entities are replicated to the client based on user-defined tags (strings.)
This query does not take position of entities into account, use CoherenceLiveQuery for that.
[NonBindable]
public sealed class CoherenceTagQuery : CoherenceQuery
- Inheritance
-
CoherenceTagQuery
- Inherited Members
Constructors
CoherenceTagQuery()
public CoherenceTagQuery()
Fields
coherenceTag
The coherenceTag to filter for. Only entities that use this tag will be received.
Please note that this tag is distinct from the built in tag
on UnityEngine.GameObject
.
[CoherenceTag]
public string coherenceTag
Field Value
Methods
CreateQuery()
protected override void CreateQuery()
NeedsUpdate()
protected override bool NeedsUpdate()
Returns
UpdateQuery(bool)
protected override void UpdateQuery(bool queryActive = true)
Parameters
queryActive
bool