-
Notifications
You must be signed in to change notification settings - Fork 7
How to set up test environment
Install nuget package of Puppetry.Puppeteer (it is shared nuget pages that located on nuget.org) to your test solution or add reference to Puppeteer.dll (that can be builded by yourself).
Run up published src of PuppetDriver by dotnet.
Example:
\ndotnet //pathToPublishedSolution/PuppetDriver.dll
or build it by yourself and run it
Copy Puppet folder from UnityPlugin and add it to Game's code base inside Asset folder. Note: Game should be launched after PuppetDriver is started as Puppet is connecting to PuppetDriver
Additional: you can use UnityPlugin/Puppet in Editor and Native Game. To use Puppet in Game, you should add GameObject with component "InGameApiClientLoader" to your scene. InGameApiClientLoader will set up communication between the Game and PuppetDriver