Ultimate Replay Scripting Reference
ReplayManagerOnReplayInstantiate Field |
Called by the replay system whenever it needs to instantiate a prefab for use during playback.
You can add a listener to override the default behaviour which can be useful if you want to handle the instantiation manually for purposes such as object pooling.
Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static Func<GameObject, Vector3, Quaternion, GameObject> OnReplayInstantiate
Field Value
Type: FuncGameObject, Vector3, Quaternion, GameObjectSee Also