Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

UI Events and Interacts both execute, but only UI will in VRChat #30

Open
CyanLaser opened this issue Dec 5, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@CyanLaser
Copy link
Owner

Vowgan:

If you have a trigger collider on a UI button that has an Interact script on it as well as a SendCustomEvent for the button (with everything on the Default layer), in VRChat, the trigger collider blocks the use of the UI button so that the Interact fires instead of the button, however with CyanEmu both of these events fire, the interact on ClickDown, and the UI on ClickUp.
My case in entirely dumb and weird and I've fixed it by changing to a not dumb setup, but I don't know what this means for the raycasting interaction in CyanEmu, as it seems to be interacting with both on the different click types despite the collider blocking interaction in VRChat.
@CyanLaser CyanLaser added the bug Something isn't working label Dec 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant