ReplayManager.FindReplayPrefab Method

Ultimate Replay

ReplayManagerFindReplayPrefab Method
Attempts to find the prefab with the matching name. This is used to restore objects that were destroyed during recording.

Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static GameObject FindReplayPrefab(
	string prefabName
)

Parameters

prefabName
Type: SystemString
The name of the prefab to locate

Return Value

Type: GameObject
The matching prefab or null if no matching prefab was found
See Also