docs.unity.cn
    Show / Hide Table of Contents

    Method AddComponent

    AddComponent<T>(EntityCommandBuffer, Entity, T)

    Declaration
    public static void AddComponent<T>(this EntityCommandBuffer ecb, Entity e, T component)
        where T : class, IComponentData
    Parameters
    Type Name Description
    EntityCommandBuffer ecb
    Entity e
    T component
    Type Parameters
    Name Description
    T

    AddComponent<T>(EntityCommandBuffer, Entity)

    Declaration
    public static void AddComponent<T>(this EntityCommandBuffer ecb, Entity e)
        where T : class, IComponentData
    Parameters
    Type Name Description
    EntityCommandBuffer ecb
    Entity e
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021