Complete Main Menu in 10 Mins (AI Assets, TMP, & Scene Management)
Автор: Unity Visionaries
Загружено: 2025-11-10
Просмотров: 30
Описание:
Today, we build the essential front-end: a fully functional Main Menu!
This session covers the entire pipeline: proper Scene Creation and adding it to the Build Settings, integrating AI-generated assets (buttons/background) created via ChatGPT , designing the UI with TextMeshPro, and writing the simple *C# script* to load the next level and quit the game[cite: 95, 109]. This is the critical step to getting your game ready for a demo.
🚀 Chapter Markers (The Menu Blueprint for Speed):
0:00 - Intro: The Simple Main Menu Goal
0:19 - Scene Setup: Creating New Scene & Adding to Build Profiles
1:01 - UI Prep: Creating the Canvas and UI Image
1:21 - AI Asset Workflow: Creating Buttons & Backgrounds with ChatGPT
1:50 - Photoshop Prep: Ensuring Uniform Button Sizes
2:51 - Importing Assets & Applying Background Image
3:31 - UI Buttons: Adding TextMesh Pro Buttons
4:13 - Button Sprites: Converting Textures to Sprites
5:35 - Canvas Scaling Fix: Using Scale with Screen Size (1920x1080)
6:17 - Hover States: Setting up the Sprite Swap Transition
6:47 - Scripting Start: Creating the MainMenu C# Script
7:40 - C# Function 1: `PlayGame()` (SceneManager.LoadScene by Index + 1)
9:10 - C# Function 2: `QuitGame()` (Application.Quit)
9:38 - Final Wiring: Connecting Buttons to Script via OnClick()
10:46 - Testing the Functionality (Start Game & Hover States)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: