The Unity 6 Dropdown: Get value, add dynamic content, set value and styling guide 💛
Автор: Christina Creates Games
Загружено: 2023-08-22
Просмотров: 27876
How to use the Unity Dropdown: Learn to craft a dropdown menu, configure dropdown values through the inspector, and retrieve selected options from user interactions. We'll go further by dynamically adding and removing values using code, while also discovering techniques to customize dropdown graphics for seamless integration with your game's visuals. Additionally, we'll cover associating script-triggered actions with value changes, a feature that might come in handy.
📖 Chapters 🔖
00:00 Preview of the end result
00:32 How to set dropdown values in the inspector
01:08 How to get a value from Unity dropdown
01:59 How to set a dropdown value by script
03:02 Hint: Use [ContextMenu] to add quick editor shortcuts
03:28 How to remove values from a dropdown list
04:13 Styling your Unity dropdown
06:41 How to change OnClick Action by script
📁 Get the PDF Version of my tutorials
Would you rather read a book? I have a collection of eBooks on the Unity UGUI System here:
📘 Itch: https://christinacreatesgames.itch.io/
💬 Join the Discord
You are very welcome to join / discord !
🎮 Play My Games
🎲 https://christinacreatesgames.itch.io
🛍️ Recommended Assets
https://assetstore.unity.com/lists/hi... [affiliate]
📖 List of books all around Gamedev and Design I recommend: https://www.christinacreatesgames.com...
Otherwise, using my affiliate codes for these stores helps to support my channel:
🛒 Unity Asset Store: https://assetstore.unity.com/?aid=110... [affiliate]
🏪 Synty Store: https://syntystore.com/christinacreat... [affiliate]
🪸 Envato Elements: https://1.envato.market/ChristinaCrea... [affiliate]
🔖Humble Bundle: https://humblebundleinc.sjv.io/xLGLNR [affiliate]
🌟 Actionable UI Feedback for Your Game
I offer UI consulting for gamedev projects! With 15+ years of design experience and a background of a teacher, I’m here to help:
👉 Learn more: https://www.vennegerts.com/en/gamedev...
☕ Support Me on Ko-fi
If you enjoy the content and want to support my work:
💛 Buy me a cocoa: https://ko-fi.com/christinacreatesgames
#unitytutorial #unity3d #gamedev #indiedev
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: