![]() ![]() Create a new script, call it SC_BackgroundScaler then paste the code below inside it:.You can use the image below (Right-click -> Save as.), make sure its Texture Type is set to 'Sprite (2D and UI)' in Import Settings: Assign the Texture to a newly created Image.Create a new Image by right-clicking on Canvas -> UI -> Image (This will be Menu Background).Create new Canvas (GameObject -> UI -> Canvas).In this tutorial, I will be showing how to create a Main Menu in Unity using UI Canvas. Main Menu is one of the most prominent parts of the UI since it's usually the first thing that players see when loading the game. User Interface (UI) is a combination of graphics, text, and buttons that plays a key role in providing an enjoyable gaming experience.
0 Comments
Leave a Reply. |