goome docs

Unity 0.2

Add the package

Window > Package Manager, the + at the top left, Add package from git URL:

https://github.com/goome-ui/csharp-goome.git?path=/unity/com.goome-ui.goome

Add a tag to pin a version, like ...?path=/unity/com.goome-ui.goome#v0.2.0. Or put it in Packages/manifest.json:

{
  "dependencies": {
    "com.goome-ui.goome": "https://github.com/goome-ui/csharp-goome.git?path=/unity/com.goome-ui.goome"
  }
}

It has GoomeSharp and the native libs for Windows x64, Linux x64 and both Macs, import settings already done.

Using it

Unity means offscreen mode. goome draws into a buffer, you upload it as a texture and push it your input. Copy the MonoBehaviour from Getting started in Unity.

Debugging

Attach Rider or Visual Studio to Unity like normal. The native libs in the package have no symbols, build your own with -g and drop it over the packaged one if you need to step into C.

Gotchas