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.


Getting Started

To view the recorder editor window go to Window GameDriver Recorder


User Interface

Record/StopPressing 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.

HierarchyPathRelative and Absolute options.

Help: Links to this document.

Clear: Clear the current recorded event list.


Add EventWhen 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.

  1. Help Button: Documentation help for the HierarchyPath query language.

  2. Query field: Enter a HierarchyPath string here. Press enter to perform a search.

  3. Search results: Displays how many items are found by the query.


Usage

  1. 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.

  2. Press the Stop button and it will stop recording. 

  3. 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.


Roadmap

Here is a tentative list of features we are planning. If you have anything you would like added, please contact us at support@gamedriver.io

  • Support for XR, gamepads, and other input methods

  • Recording and replay of real-time input paths

  • Pause/Resume buttons

  • 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