Method | Description | |
---|---|---|
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 ( |
Custom preview for Image component.
|
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
SetShowNativeSize ( bool instant ) : void |
public OnPreviewGUI ( |
||
rect | Rectangle in which to draw the preview. | |
background | Background image. | |
return | void |