C# Class UnityEngine.GUIContent

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
none GUIContent

Private Properties

Property Type Description
ClearStaticCache void
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp UnityEngine.GUIContent[]
Temp UnityEngine.GUIContent[]

Public Methods

Method Description
GUIContent ( ) : System

Constructor for GUIContent in all shapes and sizes.

GUIContent ( GUIContent src ) : System

Build a GUIContent as a copy of another GUIContent.

GUIContent ( Texture image ) : System

Build a GUIContent object containing only an image.

GUIContent ( Texture image, string tooltip ) : System

Build a GUIContent containing an image. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.

GUIContent ( string text ) : System

Build a GUIContent object containing only text.

GUIContent ( string text, Texture image ) : System

Build a GUIContent object containing both text and an image.

GUIContent ( string text, Texture image, string tooltip ) : System

Build a GUIContent that contains both text, an image and has a tooltip defined. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.

GUIContent ( string text, string tooltip ) : System

Build a GUIContent containing some text. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.

Private Methods

Method Description
ClearStaticCache ( ) : void
Temp ( Texture i ) : GUIContent
Temp ( Texture i, string tooltip ) : GUIContent
Temp ( string t ) : GUIContent
Temp ( string t, Texture i ) : GUIContent
Temp ( string t, string tooltip ) : GUIContent
Temp ( Texture images ) : UnityEngine.GUIContent[]
Temp ( string texts ) : UnityEngine.GUIContent[]

Method Details

GUIContent() public method

Constructor for GUIContent in all shapes and sizes.

public GUIContent ( ) : System
return System

GUIContent() public method

Build a GUIContent as a copy of another GUIContent.

public GUIContent ( GUIContent src ) : System
src GUIContent
return System

GUIContent() public method

Build a GUIContent object containing only an image.

public GUIContent ( Texture image ) : System
image Texture
return System

GUIContent() public method

Build a GUIContent containing an image. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.

public GUIContent ( Texture image, string tooltip ) : System
image Texture
tooltip string
return System

GUIContent() public method

Build a GUIContent object containing only text.

public GUIContent ( string text ) : System
text string
return System

GUIContent() public method

Build a GUIContent object containing both text and an image.

public GUIContent ( string text, Texture image ) : System
text string
image Texture
return System

GUIContent() public method

Build a GUIContent that contains both text, an image and has a tooltip defined. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.

public GUIContent ( string text, Texture image, string tooltip ) : System
text string
image Texture
tooltip string
return System

GUIContent() public method

Build a GUIContent containing some text. When the user hovers the mouse over it, the global GUI.tooltip is set to the tooltip.

public GUIContent ( string text, string tooltip ) : System
text string
tooltip string
return System

Property Details

none public static property

Shorthand for empty content.

public static GUIContent,UnityEngine none
return GUIContent