SceneDiscEditor discEditor; // todo: polygonal version public override void OnEnable() { base.OnEnable(); dashEditor = DashStyleEditor.GetDashEditor(propDashStyle, propMatchDashSpacingToSize, propDashed); fillEditor = new SceneFillEditor(this, propFill, propUseFill); discEditor = new SceneDiscEditor(this); }
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(); rectEditor = new SceneRectEditor(this); fillEditor = new SceneFillEditor(this, propFill, propUseFill); }