public override void OnEnable() { base.OnEnable(); dashEditor = DashStyleEditor.GetLineDashEditor(propDashStyle, propMatchDashSpacingToSize, propGeometry, propDashed); scenePointEditor = new ScenePointEditor(this) { hasAddRemoveMode = false }; }
public override void OnEnable() { base.OnEnable(); fillEditor = new SceneFillEditor(this, propFill, propUseFill); scenePointEditor = new ScenePointEditor(this); pointList = new ReorderableList(serializedObject, propPoints, true, true, true, true) { drawElementCallback = DrawPointElement, drawHeaderCallback = PointListHeader }; if (pointList.count > MANY_POINTS) { hasManyPoints = true; showPointList = false; } }
public override void OnEnable() { base.OnEnable(); pointList = new ReorderableList(serializedObject, propPoints, true, true, true, true) { drawElementCallback = DrawPointElement, drawHeaderCallback = PointListHeader }; if (pointList.count > MANY_POINTS) { hasManyPoints = true; showPointList = false; } scenePointEditor = new ScenePointEditor(this) { hasEditThicknessMode = true, hasEditColorMode = true }; }