Building a custom package? | Intech Studio
💬 general Grid

Building a custom package?

sam suite
sam suite · · 10 replies

Hey folks!
I just received my VSN1 and I'm really enjoying it. I'd like to set up a package that can send & receive data from the Unity game engine -- for example, for tuning variables in real time (it would be great to be able to see variable names on the VSN1 screen, even). I'm an experienced programmer & I'm up for a challenge. It seems like there's not much documentation for this sort of thing yet, though. Any tips for where to get started? Looks like these things are node apps, but I haven't deciphered much else.

Replies (10)

sabo sabo ·

This sounds reslly cool! @user can help you out!

Dani ·

While we do not have any detailed guides about this (we are also figuring it out as we go 😄 ), I can throw together a short guide about the most important parts and function calls.

Dani ·

Until then, you could start from the Unity side: how to get and set the variable name. I don't know how Unity's plugin system works, ususally if there's an API for websockets or normal sockets to the outside world, the NodeJS part of the package will be able to connect and receive data.

sam suite sam suite ·

Sounds good! A short guide would be super appreciated -- anything to help me get my foot in the door. Thanks so much!

sam suite sam suite ·

On the Unity side this should be relatively easy! I can access variable names & values with reflection, and communicating with websockets shouldn't be too bad.

Dani ·

Sure thing, I'll try to get something together by the end of the next week!

sam suite sam suite ·

Excellent, thanks again!

Dani ·

Hi! I've just published a sample package for websocket communication: https://github.com/intechstudio/package-websocket It also contains a medium sized overview about the packages and package development process.

Dani ·

Feel free to write if there is any questions or any feedback about how I could improve the documentation!

sam suite sam suite ·

This is so helpful, cheers! I'll let you know how it goes.

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →