How to set Alert Message on the top of player character?
How to set Alert Message on the top of player character?
Hi, I don't know how to move the Alert Message to the top of the player head character but instead, it's always shown on the center of the screen. Is there a way, wherever my player goes or moves at any point on the screen, the alert message will always follow or stay on the top player head?
Regards,
Crusenho Agus Hennihuno
Indie Developer
Crusenho Agus Hennihuno
Indie Developer
Re: How to set Alert Message on the top of player character?
HI,
You can use Camera.WorldToScreenPoint() to position the Alert Panel above the PC.
The Dialogue System Extras page has a "UI Smooth Follow" example with a script that can do this.
You can use Camera.WorldToScreenPoint() to position the Alert Panel above the PC.
The Dialogue System Extras page has a "UI Smooth Follow" example with a script that can do this.