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

Automatic navigation not always recognize Selectable in selection wheel. Use explicit navigation instead #2

Open
mitay-walle opened this issue Jul 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mitay-walle
Copy link
Owner

Automatic navigation uses RectTransform border to recognize neibhours.

And Sector use same rect placement for all sectors in wheel. it's RectTransforms placed identicaly.

Always generate external Rect for each sector is CPU-expensive, and not obvious.

Workaround 1: fill explicit navigation by hand. But it's conflict with philosophy of asset 'I make everything for you (render, input, layout)'

Workaround 2: rewrite Unity automatic navigation to choose neibhours by pivots, not by bounds. Non-obvious and can brake existing navigation setup.

Need ideas, how to solve this

@mitay-walle mitay-walle added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Jul 8, 2024
@mitay-walle mitay-walle self-assigned this Jul 8, 2024
@mitay-walle mitay-walle changed the title Automatic navigation not always recognize Selectable in selection wheel. Use Automatic navigation not always recognize Selectable in selection wheel. Use explicit navigation instead Jul 8, 2024
@mitay-walle
Copy link
Owner Author

AutomaticNavigation example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant