Search Unity

2D Movie Object for GUI?

Discussion in 'Immediate Mode GUI (IMGUI)' started by msmooshoo, Feb 8, 2009.

  1. msmooshoo

    msmooshoo

    Joined:
    Feb 8, 2009
    Posts:
    15
    Hi. I know you can use GUITexture to create buttons, 2D backgrounds, etc, but is there a way to create a 2D movie and not have it in 3D space using a movie texture?
     
  2. HiggyB

    HiggyB

    Unity Product Evangelist

    Joined:
    Dec 8, 2006
    Posts:
    6,183
    Yes, apply your movie texture as a texture being drawn in a label and you're set.
     
  3. msmooshoo

    msmooshoo

    Joined:
    Feb 8, 2009
    Posts:
    15
    Thanks HiggyB. Can you please clarify what you mean by "label"? I'm a bit new to Unity.
     
  4. Quietus2

    Quietus2

    Joined:
    Mar 28, 2008
    Posts:
    2,058
    http://unity3d.com/support/documentation/ScriptReference/GUI.Label.html

    A label is a construct within the Unity GUI system that allows one to display text or a texture. It's useful for a number of things such as displaying game score or a picture of a weapon you're wielding. One of the essential building blocks you'll be using quite often to display your GUI.
     
  5. msmooshoo

    msmooshoo

    Joined:
    Feb 8, 2009
    Posts:
    15
    Thanks Quietus! That's perfect!