Usage On Device
Currently, LiveWatch is limited to use within UnityEditor
. However, you can record data in a build, save it as a binary file, and then open it later in UnityEditor
for review.
To enable this, WatchSaveCanvas prefab is available in the root folder of the tool, providing the necessary setup for data exporting. If it doesn’t suit your project’s needs, feel free to create a custom implementation.
Steps to Use LiveWatch in a Build:
1. Add the WatchSaveCanvas
Prefab
Add WatchSaveCanvas
to your scene. By default, it can be accessed through a transparent OpenButton
in the top left corner of the screen. Adjust this as needed or implement a custom access point. Just make sure to call WatchServices.SaveLoader.Save
when saving data.
2. Add the LIVE_WATCH_BUILD
Define
In your project settings, add the LIVE_WATCH_BUILD
define.
3. Make a Development Build
Create a development build of your project.
4. Launch and Save
Run the build and create a save. If using the default logic, click the top left corner, modify the file name if needed, and click save. The save path will display upon completion, defaulting to the Application.persistentDataPath folder.
5. Transfer and Load in Unity
Locate the .watch
file, transfer it to your PC, and open it in the Unity editor by clicking Load
.