docs.unity.cn
    Show / Hide Table of Contents

    Method SetComponent

    SetComponent<T>(Int32, Entity, T)

    Declaration
    public void SetComponent<T>(int sortKey, Entity e, T component)
        where T : struct, IComponentData
    Parameters
    Type Name Description
    Int32 sortKey
    Entity e
    T component
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021