C# Класс UnityEngine.GUIContent

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
none GUIContent

Private Properties

Свойство Тип Описание
ClearStaticCache void
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp GUIContent
Temp UnityEngine.GUIContent[]
Temp UnityEngine.GUIContent[]

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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[]

Описание методов

GUIContent() публичный метод

Constructor for GUIContent in all shapes and sizes.

public GUIContent ( ) : System
Результат System

GUIContent() публичный метод

Build a GUIContent as a copy of another GUIContent.

public GUIContent ( GUIContent src ) : System
src GUIContent
Результат System

GUIContent() публичный метод

Build a GUIContent object containing only an image.

public GUIContent ( Texture image ) : System
image Texture
Результат System

GUIContent() публичный метод

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
Результат System

GUIContent() публичный метод

Build a GUIContent object containing only text.

public GUIContent ( string text ) : System
text string
Результат System

GUIContent() публичный метод

Build a GUIContent object containing both text and an image.

public GUIContent ( string text, Texture image ) : System
text string
image Texture
Результат System

GUIContent() публичный метод

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
Результат System

GUIContent() публичный метод

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
Результат System

Описание свойств

none публичное статическое свойство

Shorthand for empty content.

public static GUIContent,UnityEngine none
Результат GUIContent