Class EntityQueryManagedComponentExtensions
Variants of EntityQuery methods that support managed component types
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public static class EntityQueryManagedComponentExtensions
Methods
Name | Description |
---|---|
GetSingletonRW<T>(EntityQuery) | Gets the value of a singleton component, for read/write access. |
GetSingleton<T>(EntityQuery) | Gets the value of a singleton component. |
SetSingleton<T>(EntityQuery, T) | Sets the value of a singleton component. |
TryGetSingleton<T>(EntityQuery, out T) | Gets the value of a singleton component, for read/write access. |