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 |