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的热门评论

查看所有评论

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心