Class SVGImageEditor
Editor class used to edit UI Sprites.
Inherited Members
UnityEditor.Editor.MoveNextTarget()
Namespace: Unity.VectorGraphics
Syntax
[CustomEditor(typeof(SVGImage), isFallback = true)]
[MovedFrom("")]
[CanEditMultipleObjects]
public class SVGImageEditor : GraphicEditor, IPreviewable, IToolModeOwner
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
OnInspectorGUI()
Draws the editor
Declaration
public override void OnInspectorGUI()