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

ofrecido por
Coursera Project Network
En este Proyecto guiado, tú:

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
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

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.

Habilidades que desarrollarás

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  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

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.