Fix Text on Top of Screen

Hey,

(Beginner here, couldn’t find an answer, so excuse me if this is stupid.)

I’m trying to have a block of text on top of the screen in my game. It’s a copyright statement, so it has to always be there. How can I do this? I put it in the onGUI method, but it disappears when the game starts.

Thanks a lot!

Do it using the UI / canvas / text function. Then just add a script to the canvas with DoNotDestroyOnLoad and it will be there though every scene in your game (or until you tell it not to)

:slight_smile:

This tutorial may help.