GridVids
Sign in with YouTube

How to create a collapsing sidebar in Unity

Christina Creates Games Mar 17, 2026 14:01
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

Chapters
This tutorial explains how to create two kinds of collapsing sidebars in Unity: A standalone version overlaying a game world and one working inside a greater layout. These are great for menus and show or hide labels based on if your player still requires them. This tutorial uses the Unity UGUI system and while I am using Unity 6, it works well on older versions of Unity, too. πŸ“– Chapters β˜• Find the project files on my Ko-Fi https://ko-fi.com/s/caeba69e5d πŸ“ Get my PDF guidebooks on Unity UI I have a collection of eBooks on the Unity UGUI System here: πŸ“˜ Itch: https://christinacreatesgames.itch.io/ β˜• Ko-Fi: https://ko-fi.com/christinacreatesgames/shop πŸ’¬ Discord πŸ’› You are very welcome to join! https://discord.gg/Gy7a9h3APK πŸ›οΈ Recommended Assets https://assetstore.unity.com/lists/highly-recommended-9071944798250?aid=1101lr4hF [affiliate] πŸ“– List of books all around Gamedev and Design I recommend: https://www.christinacreatesgames.com/bookshelf Otherwise, using my affiliate codes for these stores helps to support my channel: πŸ›’ Unity Asset Store: https://assetstore.unity.com/?aid=1101lr4hF [affiliate] πŸͺ Synty Store: https://syntystore.com/christinacreatesgames [affiliate] πŸͺΈ Envato Elements: https://1.envato.market/ChristinaCreatesGames [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/gamedevelopment-consulting/ β˜• 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
Science & Technology
#Unity tutorial #Learn Unity #ChristinaCreatesGames #Game dev #Game development #game dev tutorial #game development tutorial #UI Design #Navigation Rail Unity #Collapsing Menu Unity #Collapsing Sidebar Unity #Main Menu Unity