Monday, January 13, 2014

Unity3D Popup Message

Here's something simple to start.   A popup message in Unity3D.  Just...
  1. Create an empty game object 
  2. Add a Box Collider (and set the IsTrigger checkbox) 
  3. Finally add this script to it.

This assumes your main character is tagged as "Player".  It will also play whatever sound you have attached to it.

You can view the code for this by clicking
this link here.

Leave a comment or question if you have one!

No comments:

Post a Comment

Please no spam, and no links unless they directly relate to the content of the page.