ReplayObject Class

Ultimate Replay

ReplayObject Class
Only one instance of ReplayObject can be added to any game object.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          UltimateReplayReplayObject

Namespace: UltimateReplay
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class ReplayObject : MonoBehaviour, 
	IReplaySerialize

The ReplayObject type exposes the following members.

Constructors
  NameDescription
Public methodReplayObject
Initializes a new instance of the ReplayObject class
Top
Methods
  NameDescription
Public methodAwake
Called by Unity.
Public methodOnDestroy
Called by Unity.
Public methodOnReplayDeserialize
Called by the replay system when this ReplayObject should deserialize its replay data.
Public methodOnReplaySerialize
Called by the replay system when this ReplayObject should serialize its replay data.
Public methodRebuildComponentList
Forces the object to refresh its list of observed components. Observed components are components which inherit from ReplayBehaviour and exist on either this game object or a child of this game object.
Top
Fields
  NameDescription
Public fieldobservedComponents
An array of ReplayBehaviour components that this object will serialize during recording. Dynamically adding replay components during recording is not supported.
Top
Properties
  NameDescription
Public propertyIsPrefab
Returns true when this game object is a prefab asset. Returns false when this game object is a scene object or prefab instance.
Public propertyPrefabIdentity
Get the prefab associated with this ReplayObject.
Public propertyReplayIdentity
Get the unique ReplayIdentity for this ReplayObject.
Top
See Also