Class GhostAnimationGraphAsset
The main graph asset for a GhostAnimationController. All animation logic which needs to be synchronized should be expressed as an assets of this type. The asset can reference other assets to build a full graph.
Inherited Members
Namespace: Unity.NetCode .Hybrid
Assembly: solution.dll
Syntax
public abstract class GhostAnimationGraphAsset : ScriptableObject
Methods
Name | Description |
---|---|
Create |
Create a playable for this node. The behaviours List must be populated with all GhostPlayableBehaviour which require a call to PreparePredictedData. If a GhostPlayableBehaviour is not added to that list the prediction update will not be called. This can create a GhostPlayableBehaviour which contains mixers, clips, references to other assets etc. |
Register |
Register playable data for this asset. Only data registered here can be accessed during PrepareFrame, no other entity data can be accessed. |