Struct SystemAPI.ManagedAPI.UnityEngineComponent<T>
Can be used inside Query<T1>() iteration to retrieve UnityEngine components like ScriptableObjects, MonoBehaviour and UnityEngine.Transform
Implements
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public struct SystemAPI.ManagedAPI.UnityEngineComponent<T> : IQueryTypeParameter where T : Object
Type Parameters
Name | Description |
---|---|
T | Any ScriptableObject, MonoBehaviour or UnityEngine.Object like UnityEngine.Transform. |
Constructors
Name | Description |
---|---|
UnityEngineComponent(T) | Constructs a UnityEngineComponent wrapper. |
Properties
Name | Description |
---|---|
Value | Gets you back the contained value |