docs.unity3d.com
    Show / Hide Table of Contents

    Interface IRegisterPlayableData

    Interface used by GhostAnimationGraphAssets to communicate which components they are using to store animation data which should be ghosted.

    Namespace: Unity.NetCode.Hybrid
    Syntax
    public interface IRegisterPlayableData

    Methods

    RegisterPlayableData<T>()

    Register a new component type with playable data. It is ok to call this multiple times, and several assets on the same controller can register the same data, but it is up to the user to make sure the logic to update the data can handle that case.

    Declaration
    void RegisterPlayableData<T>()
        where T : struct, IComponentData
    Type Parameters
    Name Description
    T

    Unmanaged of type IComponentData

    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