Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

RPG text box damage numbers

Discussion in 'Scripting' started by Raybrand, Jun 4, 2014.

  1. Raybrand

    Raybrand

    Joined:
    Feb 6, 2012
    Posts:
    98
    hi I want to be able to make little text boxes appear on top of objects in the scene just like in mmorpgs, for a reference look at this link


    can anyone help me?
     
  2. rrrrhoi

    rrrrhoi

    Joined:
    Jun 4, 2014
    Posts:
    9
    simplest approach is a... "GameObject - Create Other - 3D Text"
     
  3. LeftyRighty

    LeftyRighty

    Joined:
    Nov 2, 2012
    Posts:
    5,148
    you might want to checkout the upcoming gui changes, unity did a youtube vid on it. Gui elements in the 3d space of the scene etc. are shown off in it.

    (no idea when it's coming though!).
     
  4. Raybrand

    Raybrand

    Joined:
    Feb 6, 2012
    Posts:
    98
    ok I've taken a look at 3d text but how do I change the text in code

    Edit: Ok I've studied it enough to get what I want
     
    Last edited: Jun 4, 2014