Class InputRecordingControls
Utility class to make input recording service accessible through game objects. Hook up buttons to the public functions to start and stop recording input.
Namespace: Microsoft.MixedReality.Toolkit.UI
Assembly: cs.temp.dll.dll
Syntax
public class InputRecordingControls : MonoBehaviour
Fields
OnRecordingStarted
Event raised when input recording is started.
Declaration
public UnityEvent OnRecordingStarted
Field Value
Type | Description |
---|---|
UnityEvent |
OnRecordingStopped
Event raised when input recording is stopped.
Declaration
public UnityEvent OnRecordingStopped
Field Value
Type | Description |
---|---|
UnityEvent |
Methods
SaveRecordedInput()
Export recorded input.
Declaration
public void SaveRecordedInput()
Remarks
This will only save recorded input after recording has been stopped.
ToggleRecording()
Toggle input recording.
Declaration
public void ToggleRecording()