Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Instance Owner access option in the access controls #94

Open
orels1 opened this issue Apr 18, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@orels1
Copy link
Owner

orels1 commented Apr 18, 2022

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 orels1 added the enhancement New feature or request label Apr 18, 2022
@towneh
Copy link

towneh commented Apr 19, 2022

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants