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

oferecido por
Coursera Project Network
Neste Projeto Guiado, você irá:

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
BeginnerBásico
CloudSem necessidade de download
VideoVídeo em tela dividida
Comment DotsInglês
LaptopApenas em desktop

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 você desenvolverá

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

Aprender passo a passo

Em um vídeo reproduzido em uma tela dividida com a área de trabalho, seu instrutor o orientará sobre esses passos:

  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

Como funcionam os projetos guiados

Sua área de trabalho é um espaço em nuvem, acessado diretamente do navegador, sem necessidade de nenhum download

Em um vídeo de tela dividida, seu instrutor te orientará passo a passo

Perguntas Frequentes – FAQ

Perguntas Frequentes – FAQ

Mais dúvidas? Visite o Central de Ajuda ao Aprendiz.