Publisher | KAMGAM |
---|---|
File size | 9.07MB |
Number of files | 63 |
Latest version | 1.0.2 |
Latest release date | 2024-07-10 01:16:09 |
First release date | 2024-06-26 07:01:13 |
Supported Unity versions | 2018.4.2 or higher |
🐭 This asset is part of the UI Bundle🐭
You have made your game for mouse input and now that you want to add controller support you realize: Oh my god, the selection goes everywhere (front, back, out of scene, ..). -> Fear not for the UI Navigation Wizard has arrived to solve all you UI navigation problems with the flick of a mouse.
😎 Easy to use
No coding skills required. Simply add a prefab to your scene and call it a day.
✔️ Occlusion Detection
Automatically prohibits elements in the back from being selected. You don't need to do anything. Yes, this also work for moving UIs!
NOTICE: The occlusion system does not use the interactable flag. Though, if you want, you can tell it to manage the "interactable" flag on the selectable objects for you.
✔️ Null Selection Resolution
It checks if nothing is selected and automatically selects the UI element that is closest to the position of the last selected element.
Of course you can pause/unpause null selection resolution at any time (for cutscenes, tutorials, ...).
✔️ Mix automatic and explicit navigation
You choose whether you want to trust the automatic navigation or control it yourself. Easy parameterizable configuration for each navigation direction. If needed you can even revert back to the Unity default navigation (as if you'd ever want to).
✔️ Works with all selectables (not just Buttons)
✔️ Selection Constraints
Constrain the selectable buttons to just a few from a list. Very handy for tutorials!
Yes, you can add an dremove from that list dynamically and it will work, always.
✔️ Navigation blocking
Completely avoid navigating in a direction away from a selectable if needed.
✔️ Dynamic UI support
All features handle UIs that activate and deactivate at runtime gracefully. No need to inform the wizard. He just knows ;-)
📚 Lots of examples & documentation
Check out Kamgam/UGUINavigationWizard/Examples.
💫️ Full Source Code
I publish this asset with full source code because as a developer I know how annoying it is to not have source code access. If you like it then please remind others to purchase the plugin. Don't just copy and paste it everywhere. Thank you ❤️
✔️ Supports Unity 2021 LTS, 2022 LTS, 2023 LTS, Unity 6, ...
Please make sure you are using the current LTS release.
👇 Things you should know 👇 (Read this before you buy):
There is an intro section in the manual. Please read it first.
⚠️ Unity 2021.3 or higher is required (LTS releases strongly recommended).
✍️ Usage
1) Open your main scene (the scene that gets loaded first).
2) Add the "UGUI Navigation Wizard Automator" prefab.
3) Add the "UGUI Navigation Wizard Null Resolver" prefab if you want null selection resolution.
4) Done
😎 HINT 1:
For a quick test the "UGUI Navigation Wizard Automator" is perfect, yet if you decide to keep using the navigation wizard I would recommend adding the UGUI Navigation Wizard component to your selectables before running the game (the automator has a button for that).
🧐 HINT 2:
You can use the NullResover, Automator and Constraints locally too (disable the "IsGlobal" flag). If you use them on a transform then they will only affect their own child transforms and no other.
🤠 HINT 3:
Split your UI into as many canvases as you can. That's a handy trick for Unity in general and has nothing to do with this asset. Just though you might want to know.
☎️ Support
If you have any questions please write to office[at]kamgam.com. Please be patient, replies may take a few days. Please include your Asset Store Order Nr and the exact Unity version in your request. Please also try upgrading to the most recent LTS version before asking. Please go read the manual before asking. I try to cover as many edge cases as I can there. Thank you.
❤️ If you like this asset then maybe you'll like these too:
🖌 UGUI Animated Outlines & Glow
Make your selection highlights shine.
One Settings UI + API for all render pipelines.
Skip the hierarchy search. What you click is what you select.
Particle Image for your UI.
Blurred backgrounds for UI.
Punch holes into your UI.