keijiro / OscJack

Lightweight C# implementation of OSC server/client
The Unlicense
465 stars 64 forks source link

How could I set the value of a public int? #14

Closed corbinyo closed 5 years ago

corbinyo commented 5 years ago

I have a public int that I am trying to set with an OSC message, but I am unable to set the int on my script with the OSC Event Receiver

keijiro commented 5 years ago

It uses UnityEvent that doesn't public variables but public properties. Please try adding accessor property for the variable.

keijiro commented 5 years ago

I'm closing the issue. Please feel free to reopen for further questions.