Version 3.3.0.1

Vector2Drawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public sealed class Vector2Drawer : OdinValueDrawer<Vector2>, IDefinesGenericMenuItems
Vector2 proprety drawer.
Inheritance

Constructors

Vector2Drawer()
public Vector2Drawer()

Methods

DrawPropertyLayout(GUIContent)
Draws the property.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

PopulateGenericMenu(InspectorProperty, GenericMenu)
Populates the generic menu for the property.
public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
Parameters
InspectorProperty property

UnityEditor.GenericMenu genericMenu

Extension Methods