C# Class UnityEngine.GUIContent

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
none GUIContent

Private Properties

Свойство Type Description
ClearStaticCache void
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp UnityEngine.GUIContent[]
Temp UnityEngine.GUIContent[]

Méthodes publiques

Méthode 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

Méthode 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 méthode

Constructor for GUIContent in all shapes and sizes.

public GUIContent ( ) : System
Résultat System

GUIContent() public méthode

Build a GUIContent as a copy of another GUIContent.

public GUIContent ( GUIContent src ) : System
src GUIContent
Résultat System

GUIContent() public méthode

Build a GUIContent object containing only an image.

public GUIContent ( Texture image ) : System
image Texture
Résultat System

GUIContent() public méthode

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
Résultat System

GUIContent() public méthode

Build a GUIContent object containing only text.

public GUIContent ( string text ) : System
text string
Résultat System

GUIContent() public méthode

Build a GUIContent object containing both text and an image.

public GUIContent ( string text, Texture image ) : System
text string
image Texture
Résultat System

GUIContent() public méthode

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
Résultat System

GUIContent() public méthode

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
Résultat System

Property Details

none public_oe static_oe property

Shorthand for empty content.

public static GUIContent,UnityEngine none
Résultat GUIContent