This is Part 27 of Make a Game Like Pokemon in Unity Series. In this video, we'll implement dialogue system in our game and we'll show dialogues when the player interacts with the NPC.
Join my Patreon to support this series and get access to the Complete Project files ( which also contains some advanced features that are not covered here)
/ complete-project-39632268
Script files for each part of this series (You can use this to compare with your script and find any mistakes)
/ script-files-for-38708232
Download the art assets needed to follow along with this series
https://github.com/GameDevExperiments...
0:00 - Intro
0:32 - Dialogue UI
3:51 - DialogManager Script
8:29 - Show dialogue when interacting with NPC
12:06 - Dialog state to control the dialogues
16:52 - Show next line when Z key is pressed
20:09 - Fixing edge case
21:33 - Testing
If you like this series, consider subscribing to the channel and leave a like on the video to help this channel grow.