Header File / Exported Functions Documentation
Are there any plans to make documentation or at the very least release a .h file with the native DLL functions that are exported to Unity?
It is strange considering the runtime is open source but these compiled DLL builds do not seem to have any guidance on that front. This makes it difficult to upkeep between Unity versions or invest time into the runtime if it happens to lose support. For example I don't expect the Rive team to adapt to Unity's new render graph but would like to implement such things myself.
The rive-unity package (along with the other high-level runtimes) is built on top of the open-source rive-cpp core runtime.
Under the hood, there’s a thin native plugin layer that connects the public C++ runtime to Unity’s plugin API. That layer isn’t automatically pushed downstream by our CI, but we do plan to get that setup and released. We just don’t have a timeline yet, since we’re prioritizing other features and bugfixes.
That said, if you’re looking to implement something like Unity’s render graph integration, you should be able to work directly with the C++ runtime for the time being. It contains the core scripts you’d need, and gives you full control.