VanillaBox Console has been released! It's a free app that lets you quickly test out Unity runtime features. Check it out here!

Also, a newly revamped website with improved docs is coming soon. Stay tuned!

New features and bug fixes will land in the private github repo before becoming available on the Asset Store. To request access to the repo, please send an email or pm Singtaa#4915 on Discord with your Github username and OneJS Order/INV number.

This sample is available as a public repo at https://github.com/DragonGround/OverwatchSample

Step-by-step Setup

  • Extract this repo to {ProjectDir}/OneJS/OverwatchSample
  • Open {ProjectDir}/OneJS with VSCode and run the tsc: watch task (Ctrl + Shift + B)
  • In Unity, drag a ScriptEngine prefab onto the scene.
  • Create an empty GameObject in scene and name it charman. Then, drag the included CharacterManager.cs onto it.
  • Add CharacterManager to the Objects list under ScriptEngine's INTEROP; name it to charman. (Read the info box above the Objects list for tips on how to pick specific Objects)
  • Set Live Reload's entry script to OverwatchSample/index.js.
  • Hit Play and you should be all set