ReplayManager.ReplayInstantiate Method

Ultimate Replay

ReplayManagerReplayInstantiate Method
Attempts to instantiate the specified prefab. OnReplayInstantiate will be called if a listener has been registered otherwise default instantiation will be used.

Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static GameObject ReplayInstantiate(
	GameObject prefab,
	Vector3 position,
	Quaternion rotation
)

Parameters

prefab
Type: GameObject
The prefab to instantiate
position
Type: Vector3
The position to spawn the prefab at
rotation
Type: Quaternion
The rotation to spawn the prefab with

Return Value

Type: GameObject
The new instance of the specified prefab or null if an error occurred
See Also