UdonToolkit icon indicating copy to clipboard operation
UdonToolkit copied to clipboard

Add support for Instance Owner access option in the access controls

Open orels1 opened this issue 2 years ago • 1 comments

We can use VRCPlayerApi.isInstanceOwner to check that.

Networking.IsInstanceOwner always returns true, so don't use that!

Could be just another option in the list of checkboxes. Should probably rename the Owner to Object Owner to clarify

orels1 avatar Apr 18 '22 14:04 orels1

I'm currently using the following as a working alternative to the broken Networking.IsInstanceOwner:

if (Networking.LocalPlayer.isInstanceOwner) {

(be careful to use the lowercase "is")

towneh avatar Apr 19 '22 10:04 towneh