C# Класс UnityEditor.UI.ImageEditor

Наследование: GraphicEditor
Показать файл Открыть проект

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

Метод Описание
GetInfoString ( ) : string

A string cointaining the Image details to be used as a overlay on the component Preview.

HasPreviewGUI ( ) : bool

Can this component be Previewed in its current state?

OnInspectorGUI ( ) : void

Implement specific ImageEditor inspector GUI code here. If you want to simply extend the existing editor call the base OnInspectorGUI () before doing any custom GUI code.

OnPreviewGUI ( Rect rect, GUIStyle background ) : void

Custom preview for Image component.

Защищенные методы

Метод Описание
OnDisable ( ) : void

See MonoBehaviour.OnDisable.

OnEnable ( ) : void
SpriteGUI ( ) : void

GUI for showing the Sprite property.

TypeGUI ( ) : void

GUI for showing the image type and associated settings.

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

Метод Описание
SetShowNativeSize ( bool instant ) : void

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

GetInfoString() публичный Метод

A string cointaining the Image details to be used as a overlay on the component Preview.

public GetInfoString ( ) : string
Результат string

HasPreviewGUI() публичный Метод

Can this component be Previewed in its current state?

public HasPreviewGUI ( ) : bool
Результат bool

OnDisable() защищенный Метод

See MonoBehaviour.OnDisable.

protected OnDisable ( ) : void
Результат void

OnEnable() защищенный Метод

protected OnEnable ( ) : void
Результат void

OnInspectorGUI() публичный Метод

Implement specific ImageEditor inspector GUI code here. If you want to simply extend the existing editor call the base OnInspectorGUI () before doing any custom GUI code.

public OnInspectorGUI ( ) : void
Результат void

OnPreviewGUI() публичный Метод

Custom preview for Image component.

public OnPreviewGUI ( Rect rect, GUIStyle background ) : void
rect UnityEngine.Rect Rectangle in which to draw the preview.
background UnityEngine.GUIStyle Background image.
Результат void

SpriteGUI() защищенный Метод

GUI for showing the Sprite property.

protected SpriteGUI ( ) : void
Результат void

TypeGUI() защищенный Метод

GUI for showing the image type and associated settings.

protected TypeGUI ( ) : void
Результат void