12 Replies
oh siiick! Nice ๐
are you able to stick the source for this up somewhere?
What os are you on
It's super easy to generate the bindings
first clone https://github.com/get-convex/convex-mobile/tree/main/rust then CD to the rust install this https://github.com/NordSecurity/uniffi-bindgen-cs with cargo then run uniffi-bindgen-cs path/to/definitions.udl
GitHub
convex-mobile/rust at main ยท get-convex/convex-mobile
Contribute to get-convex/convex-mobile development by creating an account on GitHub.
GitHub
GitHub - NordSecurity/uniffi-bindgen-cs: C# bindings generator for ...
C# bindings generator for uniffi-rs. Contribute to NordSecurity/uniffi-bindgen-cs development by creating an account on GitHub.
Then build the rust library
If you're on windows I could probably push that unity game to GitHub with the required windows library
Maybe provide a better UI to showcase it
But tomorrow I think I will be really busy
To use it in a unity project all I did was set the project to .net framework and put the dll in assets/plugins/x64
Set the dll to load at runtime
And that's it
Super duper easy
Absolutely no credit to me. It's Mozilla NordSecurity and the Convex team that did all the work. I just played with Legos
Of course if you need any help or want me to get that repo up for you I can but I can only build for windows though I can probably use GitHub actions to build for other platforms, maybe even convex has already built binaries for other platforms I'm not sure
GitHub
convex-swift/libconvexmobile-rs.xcframework at a603bc850245f23ce3ce...
Contribute to get-convex/convex-swift development by creating an account on GitHub.
Luckily im just about the only member on the team that does use Windows (probably my heathen gaming background).
So yes a windows build or source or whatnot would be great @v ๐
okay cool. ill try to get this released tmr or the next day. sorry for the delay
hahaha no worries, I wont be able to take a look at it until next week at the earliest anyways
okay thats good to hear
hey did you get any futher with this?
Sorry been without Internet the last 4/5 days
๐ข
But it's back tonight ๐
haha no worries ๐ no rush or anything