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

Track interaction state #20

Open
BadMagic100 opened this issue Apr 8, 2023 · 1 comment
Open

Track interaction state #20

BadMagic100 opened this issue Apr 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@BadMagic100
Copy link
Owner

Is your feature request related to a problem? Please describe.
For interactable elements such as buttons and text inputs, track the state of interaction. For buttons, this is hovered, unhovered, and held. For text inputs, this is hovered, active, and deselected

Additional context
Research is needed to determine feasibility; if disabling/hiding elements does not fire the deselected event we cannot reliably track state.

@BadMagic100 BadMagic100 added the enhancement New feature or request label Apr 8, 2023
@BadMagic100
Copy link
Owner Author

The setter for CanvasGroup.interactable may hold answers for this. Might also want to verify behavior when mousing off of a button onto nothing

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

1 participant