Create a Dialog Box in Unity Part 3 - Versatile and Reusable

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

Understand the UnityEvent system to wire actions to button-clicks.

Understand coding principles for dynamically building a UI.

Understand and implement Inheritance and Interfaces in Unity C#.

Clock1.5 hours
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this one-hour, project-based course, we'll add code to an existing dialog box to make it much more versatile and reusable. This project involves building a custom dialog system that opens on trigger or click, dynamically wiring up GameObjects and behaviours to dialog box choices and making the game environment respond to a player's selection. The guided project will introduce you to the following Unity concepts: - Buttons - Triggers - Unity Events - Interfaces This is Part 3 of a three-part series on creating a good-looking, versatile and reusable dialog box for your game or other Unity application. Part 1 covered how to create a simple dialog box and Part 2 showed you how to use TextMesh Pro for great visual effects. This is a stand-alone guided project, but because this is a continuation of previous parts in the "Dialog Box" series, it is recommended that you complete part 1 before commencing this guided project. This series makes use of the poly-castle Unity project created in Create Keyboard Movement Mechanics with C# in Unity. It is a complimentary course to this guided project and, although not a prerequisite, is recommended for a more well-rounded understanding of the concepts presented herein. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

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. Redesign the UI for Multiple Buttons

  3. Instantiate Prefabs in Code

  4. Allow Custom Button Labels

  5. Create a Trigger-Activated User Prompt

  6. Create a Component to Wire Actions to Choices

  7. Create and Configure Buttons on the Dialog Box

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.