docs.unity.cn
    Show / Hide Table of Contents

    Struct SystemAPI.ManagedAPI.UnityEngineComponent<T>

    Can be used inside Query<T1>() iteration to retrieve UnityEngine components like ScriptableObjects, MonoBehaviour and UnityEngine.Transform

    Namespace: Unity.Entities
    Syntax
    public struct 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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023