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
Comment Dots英语(English)

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






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