Introducción y configuración inicial
Bienvenida al curso
Cargando el proyecto
El sistema de UI de Unity
El sistema de UI de Unity
El componente Canvas
El Rect Transform
Componente de imagen
Máscaras y efectos
Cómo crear texto en Unity
Creando botones en nuestra interfaz
Otros elementos de UI
Auto layout
Scroll views
Canvas groups
Haciendo interfaces para el juego
Revisión de las interfaces del juego
Importando nuestros assets
Diagramación de la pantalla del título
Animando el fondo con shader graph
Agregando lógica a la pantalla de título
Diagramación de la pantalla de selección de nivel
Implementación pantalla de selección de nivel
Ajustando el sistema de interfaz
Mejora de la interfaz del juego
Implementando la interfaz del juego
Diagramando la pantalla de pausa
Implementando la pantalla de pausa
Mejorando la pantalla de Game Over
Diagramación de la pantalla de configuración
Implementación de la pantalla de configuración
Muestra final y conclusiones
You don't have access to this class
Keep learning! Join and start boosting your career
Buttons are essential for creating interactive user interfaces in Unity. Learning how to add and customize buttons will allow you to drastically improve the user experience in your game or application. In this session, we explore how to create a button using Text Mesh Pro, make it more attractive by changing colors, and handle different visual states.
To start creating a button, follow these steps:
The button component includes several settings that you can adjust:
Navigation settings are vital when working with multiple buttons and using arrow keys to navigate between them.
Working with events is critical when a button is clicked. In Unity, you can easily configure what action will occur on a click:
For example, you can set a button to deactivate a GameObject when clicked. For this, use the SetActive
function and test the behavior when running the scene.
Keep exploring and customizing these features to enrich your projects. The world of Unity development is vast, and every tweak is a learning opportunity, so keep on creating!
Contributions 0
Questions 0
Want to see more contributions, questions and answers from the community?