Make an Action Bar in Unity Part 1 - Modular Action System

提供方
Coursera Project Network
在此指導項目中,您將:

Create a flexible action bar in Unity's UGUI system.

Write C# scripts for defining and activating actions through button selection and hotkeys.

Write C# scripts to manage cooldown timers and display visual feedback to the player.

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

Action bars are ubiquitous in gaming, from Diablo to League of Legends to Valorant, it has become the staple user interface for games that offer players multiple abilities and consumable items. In this one-hour, project-based course, you'll learn how to create an action bar from scratch. You'll learn how to set up the UI elements to create the action bar and its buttons, code a modular and versatile Action system and wire up a cooldown effect on your buttons. The guided project will introduce you to the following Unity concepts: - UI Toolkit - C# coding techniques including Inheritance. This is Part 1 of a 2-part series on creating an action bar for a Unity game. Part 2 covers adding appealing visual effects to the action bar and buttons, to give your game some "bling." This series makes use of the tropical island-themed Unity project first used in Create Animation Transitions in Unity (Intro to Animation 2). This 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. Set Up the Action Bar UI

  3. Create an Action Component

  4. Create two Sample Actions

  5. Create an Action Button Component

  6. Create a Cooldown Component

指導項目工作原理

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

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

常見問題

常見問題

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