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

Offert par
Coursera Project Network
Dans ce Projet Guidé, vous :

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
BeginnerDébutant
CloudAucun téléchargement requis
VideoVidéo en écran partagé
Comment DotsAnglais
LaptopOrdinateur de bureau uniquement

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.

Les compétences que vous développerez

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

Apprendrez étape par étape

Votre enseignant(e) vous guidera étape par étape, grâce à une vidéo en écran partagé sur votre espace de travail :

  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

Comment fonctionnent les Projets Guidés

Votre espace de travail est un bureau cloud situé dans votre navigateur, aucun téléchargement n'est requis.

Votre enseignant(e) vous guide étape par étape dans une vidéo en écran partagé

Foire Aux Questions

Foire Aux Questions

D'autres questions ? Visitez le Centre d'Aide pour les Étudiants.