MAIN MENU in Unity 2020 (Tutorial)

preview_player
Показать описание

In this tutorial, you'll learn how to make your own start / main menu for your game! As every game has their own main menu, you'll need one for your own game. You don't want to throw your player straight into the game, you want them to have a place to sit and get ready to play your game, as well as change any settings for their game through an options menu. This can help bring your game up to a better standard, and help the user when navigating and playing your game.

In this 10 minute tutorial, you'll learn how to use Unity's UI system to create your own main menu. You'll also do some basic C# (C Sharp) scripting to give interactivity to our buttons, as well as using the Unity UI Event System. By the end, you'll have a functioning main menu for your game!

Credits:
NIL

Disclaimer: This video includes a sponsored message from Admix, Inc.
Рекомендации по теме
Комментарии
Автор

The arrow navigation does not work. I'm assuming you added that from a prefab?

megamayo
Автор

i type in "PlayTheGame" when i retyped it 4 or 5 times i gotten nothing, tell me why i am failing? i gotten stuck a 5:00.

xlpssplx
Автор

If it's not much trouble and not too late. Can you make a tutorial about the option menu and how it can change things in the game?

sweeps
Автор

When I put my play, options and exit button in main menu they disappeared! help!

Banks_B
Автор

Quick and easy to follow without fluff. Keep it up : ) *subbed

valthalin
Автор

when i hover my mouse over the button it dosent change color CYKA BLYAT

brfp_
Автор

when i hit play, it goes into the scene but... the directional light breaks

mattplays
Автор

im stuck on the part where you said to put the scene manager but the thing is it does not exist for me

mikeguerrini
Автор

IT DOES NOT WORK AT ALL PLEASE EXPLAIN

bluefrostbite
Автор

on click i can not choose play game like its not there what do i do

lorasracz
Автор

Could you please do a tutorial on how to make a Main Menu like Half Life 2's Main Menu?

fizzyflavor
Автор

Thanks This was REALLY helpful I was dedicated to the menu, thanks again!

closetgaming
Автор

I get an error sayin Assets\MainMenuScript.sc(11, 35): error CS1002: ; expected

nateflix
Автор

Doesn't work somehow, made everything exactly like you

queithai
Автор

HELP I AM CRYING NOT JOKING I FOLLOW YOUR TUTORIAL THERE IS LITERALLY NOTHING HAPPENING ON THE SCENE
THE CHANGES ARE ONLY MADE ON GAME TAB MY SCENE IS COMPLETELY BLACK

affanhussain
Автор

Code if u want it

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class MainMenuScript : MonoBehaviour
{
public void PlayTheGame()
{

}

public void QuitTheGame()
{
Application.Quit();
}
}

Markleap
Автор

bro can you help me i get an error with the code on quit button:error CS0234: The type or namespace name 'Hosting' does not exist in the namespace 'System.Runtime' (are you missing an assembly reference?)

victorgamer
Автор

Why are there both so little views but also likes and comments on this

justarandomgamer