The GameDriver Recorder is used to help build test scripts. The Recorder captured mouse and keyboard input and enables you to input additional events during recording.
To view the recorder editor window go to Window > GameDriver > Recorder
Record/Stop: Pressing Record will put the Editor into play mode if it isn’t already there.
Save: Prompts for a file location to save the generated code.
HierarchyPath: Relative and Absolute options.
Help: Links to this document.
Clear: Clear the current recorded event list.
Add Event: When pressed the option selected in the Event Selected will be added.
Event Selector: From here you can select from all available events
Quick Buttons for commonly used event types, visit the API for more information about functionality. Some event types require you to select a gameObject in the Unity hierarchy window.
The Code Preview area shows a log of events as they are recorded…
Within the code preview window, you can select and copy items to the clipboard.
NOTE: Code preview will automatically scroll as events are entered. However, after around 500 events this stops working due to limitations to the Unity editor controls.
With the HierarchyPath REPL section, you can run queries and it will highlight found Game Objects.
Help Button: Documentation help for the HierarchyPath query language.
Query field: Enter a HierarchyPath string here. Press enter to perform a search.
Search results: Displays how many items are found by the query.
Press the Record button to start a recording session. Unity will enter play mode. You can then record keyboard and mouse events and other event actions.
Press the Stop button and it will stop recording.
Press the Save button to save the recorded events. Or select and highlight areas in the code preview area that you can copy and paste into your code.
Here is a tentative list of features we are planning. If you have anything you would like added, please contact us at email@example.com
Support for XR, gamepads, and other input methods
Recording and replay of real-time input paths
Resuming recorded events between recording sessions
Hotkey for Start/Stop/Pause/Resume, quick events
Additional event types
Saving comments in the recording
Auto save to specified script source
Code preview with syntax highlighting
Copy source to clipboard
HiearchyPath expand parent upon search