Create UI in Unity Part 1 - Screen Overlay Canvas

4.9
16 個評分
提供方
Coursera Project Network
在此指導項目中,您將:

Unity's User Interface (UI) Toolkit

C# code for editing UI components at run-time

UI animation for user feedback

Clock2 hours
Beginner初級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

In this 90-minute, project-based course, you will be introduced to Unity's User Interface (UI) Toolkit for building a Heads Up Display (HUD) for your game. This project covers creating and setting up each UI component and writing simple scripts that will update the UI for player-feedback. The guided project will introduce you to the following Unity UI concepts: - Canvas - Rect Transform - Text - Image - Animation - Coding techniques including the Time Class, String Formatting, Inheritance and Polymorphism This is Part 1 of a four-part series on creating a user interface for your game or other Unity application. Part 2 covers creating a world-space canvas, part 3 will demonstrate how to create a settings menu and part 4 will show you how to design the UI to automatically adapt to the aspect ratio of any screen. This is a stand-alone guided project, and also serves as an optional but recommended foundation for the "User Interface" series. This series makes use of the sci-fi-themed Unity project created in Create Power-Ups and Obstacles with C# in Unity. It compliments this guided project and, although not a prerequisite, is recommended for a more well-rounded understanding of the concepts presented herein.

您要培養的技能

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Introduction and License Activation

  2. Create a Player Name Display and a Clock Showing Survival Time

  3. Create TimerUI Component

  4. Create a Health Bar

  5. Create HealthUI Base Class - Introduction to Inheritance and Polymorphism

  6. Create HealthUI Component

  7. Create an Animated Whole-of-Screen Damage-Indicator Overlay

  8. Create Script to Pulse the Screen when Healing or Taking Damage

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

審閱

來自CREATE UI IN UNITY PART 1 - SCREEN OVERLAY CANVAS的熱門評論

查看所有評論

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心