Method RegisterPlayableData
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 : unmanaged, IComponentData
Type Parameters
| Name | Description |
|---|---|
| T | Unmanaged of type IComponentData |