Expose Behaviour.isActiveAndEnabled to Udon (or Create new property for UdonBehaviour)
BobyStar
GameObject.activeInHierarchy
is exposed and enabled
is exposed for most components. Having this would save on extra calls for checking of something is active and enabled, like during a custom event loop.I'm aware that
Behaviour
isn't exposed and such enabled
isn't available for every component. Related: https://feedback.vrchat.com/udon/p/expose-behaviour-types-both-singular-and-array-and-propertiesIf
Behaviour
cannot be exposed, I'd request for a new UdonBehaviour
property that does a similar thing just for UdonBehaviour
.Log In