Class RawImageEditor
Inherited Members
Editor.MoveNextTarget()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | |
GUIStyle | background |