This are the steps you have to follow in order to get your dialogue set up.

For more information about the different parts of the system, check Components.

If something doesn’t seem to work, check Troubleshoot / F.A.Q..

Setup

  1. Make sure your player has the Talk component attacked to it. While you’re at it, assign it a color in the PlayerChatBubbleColor public field, and the maximum distance an NPC can be to be in reach, and the key the player should press to talk.
  2. Select the NPC you want to have dialogue with.
  3. Assign the NPC tag to it. If you don’t have it in your tag list, create it, and assign it to your NPC.
  4. Add the DialogueContainer component to your NPC.
  5. Make sure the PrefabUI field has the SpeechBubblePrefab assigned to it. If that’s not the case, drag and drop the prefab onto this field.
  6. You should see a Conversations field. If its value is 0, change it to 1, and new things will appear.
  7. Same thing for the Lines field that just appeared. If it’s 0, change it for any positive number.
  8. Fill the Talker Name and Lines fields with your dialogue.
  9. That’s it! Now, when the player will press the key assigned in Talk, if an NPC is in reach, dialogue will trigger. Just press the E key repeatedly to exhaust dialogue.

Speak Easy Components Troubleshoot / F.A.Q.