Class RawImageEditor
Inherited Members
Namespace: UnityEditor .UI
Assembly: UnityEditor.UI.dll
Syntax
[CustomEditor(typeof(RawImage), true)]
[CanEditMultipleObjects]
public class RawImageEditor : GraphicEditor
Methods
GetInfoString()
Info String drawn at the bottom of the Preview
Declaration
public override string GetInfoString()
Returns
Type | Description |
---|---|
string |
Overrides
HasPreviewGUI()
Allow the texture to be previewed.
Declaration
public override bool HasPreviewGUI()
Returns
Type | Description |
---|---|
bool |
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
Overrides
OnPreviewGUI(Rect, GUIStyle)
Draw the Image preview.
Declaration
public override void OnPreviewGUI(Rect rect, GUIStyle background)