docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSharedComponentData

    GetSharedComponentData<T>(Entity)

    Obsolete. Use GetSharedComponentManaged<T>(Entity) instead.

    Declaration
    [Obsolete("Use GetSharedComponentManaged<T> (UnityUpgradable) -> GetSharedComponentManaged<T>(*)", true)]
    public T GetSharedComponentData<T>(Entity entity) where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    Entity entity

    The entity.

    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The type of entity

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)