Class SVGImageEditor
Editor class used to edit UI Sprites.
Inherited Members
GraphicEditor.m_Script
GraphicEditor.m_Color
GraphicEditor.m_Material
GraphicEditor.m_RaycastTarget
GraphicEditor.m_Maskable
GraphicEditor.m_ShowNativeSize
GraphicEditor.OnDisable()
GraphicEditor.NativeSizeButtonGUI()
GraphicEditor.MaskableControlsGUI()
GraphicEditor.AppearanceControlsGUI()
GraphicEditor.RaycastControlsGUI()
Editor.MoveNextTarget()
Namespace: Unity.VectorGraphics
Assembly: Unity.VectorGraphics.Editor.dll
Syntax
[CustomEditor(typeof(SVGImage), isFallback = true)]
[MovedFrom("")]
[CanEditMultipleObjects]
public class SVGImageEditor : GraphicEditor
Methods
AddSVGImage(MenuCommand)
Adds the SVG Image menu item.
Declaration
[MenuItem("GameObject/UI/SVG Image", false, 2002)]
public static void AddSVGImage(MenuCommand menuCommand)
Parameters
Type | Name | Description |
---|---|---|
MenuCommand | menuCommand | The menu command into which to insert the menu item. |
OnEnable()
Enables the editor
Declaration
protected override void OnEnable()
Overrides
UnityEditor.UI.GraphicEditor.OnEnable()
OnInspectorGUI()
Draws the editor
Declaration
public override void OnInspectorGUI()
Overrides
UnityEditor.UI.GraphicEditor.OnInspectorGUI()