vrchat-community / UdonSharp

A compiler for compiling C# to Udon assembly
https://udonsharp.docs.vrchat.com
MIT License
461 stars 50 forks source link

Improved OnBecameVisible / OnBecameInvisible documentation #156

Closed FairplexVR closed 3 weeks ago

FairplexVR commented 5 months ago

Currently, we can't use those methods as it. In order to work, these must be public and start with an underscore and lowercase.

More information can be found in this canny:

https://feedback.vrchat.com/udon/p/onbecameinvisible-onbecamevisible-broken