Class EntityCommandBufferManagedComponentExtensions | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Class EntityCommandBufferManagedComponentExtensions

    Inheritance
    Object
    EntityCommandBufferManagedComponentExtensions
    Namespace: Unity.Entities
    Syntax
    public static class EntityCommandBufferManagedComponentExtensions

    Methods

    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

    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

    SetComponent<T>(EntityCommandBuffer, Entity, T)

    Declaration
    public static void SetComponent<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
    In This Article
    • Methods
      • AddComponent<T>(EntityCommandBuffer, Entity)
      • AddComponent<T>(EntityCommandBuffer, Entity, T)
      • SetComponent<T>(EntityCommandBuffer, Entity, T)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023