Class SpriteShapeEditor
Inheritance
SpriteShapeEditor
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Syntax
[CustomEditor(typeof(SpriteShape))]
[CanEditMultipleObjects]
public class SpriteShapeEditor : Editor, IPreviewable, IToolModeOwner, IAngleRangeCache
Properties
angleRanges
Declaration
public List<AngleRange> angleRanges { get; }
Property Value
Implements
previewAngle
Declaration
public float previewAngle { get; set; }
Property Value
Implements
selectedIndex
Declaration
public int selectedIndex { get; set; }
Property Value
Implements
spriteShape
Declaration
public SpriteShape spriteShape { get; }
Property Value
Methods
Declaration
public void DrawHeader(GUIContent content)
Parameters
OnEnable()
Declaration
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
Overrides
RegisterUndo(String)
Declaration
public void RegisterUndo(string name)
Parameters
| Type |
Name |
Description |
| String |
name |
|
Implements
RequiresConstantRepaint()
Declaration
public override bool RequiresConstantRepaint()
Returns
Overrides