stella3d / OscCore

A performance-oriented OSC library for Unity
MIT License
159 stars 28 forks source link

Update `PropertyOutput.m_MemberIsProperty` from Inspector #13

Open shivaduke28 opened 2 years ago

shivaduke28 commented 2 years ago

Hello! I am a VRChat user and just recently started using this library. It is very useful, thank you.

I made a PR because I thought the PropertyOutput component was not working correctly. I am new to OSC and this library so I apologize if I have misunderstood something.

Although m_MemberIsProperty is used to determine whether to be used Property or Field, its value is set only in the setter of them, resulting in it seems always false. This makes PropertyOutput not work when Light.intensity is used for example.

I have made changes to Inspector to fix this.