Beispiel #1
0
        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);
        }
Beispiel #2
0
 public override void OnEnable()
 {
     base.OnEnable();
     dashEditor       = DashStyleEditor.GetLineDashEditor(propDashStyle, propMatchDashSpacingToSize, propGeometry, propDashed);
     scenePointEditor = new ScenePointEditor(this)
     {
         hasAddRemoveMode = false
     };
 }
Beispiel #3
0
        public static DashStyleEditor GetRingDashEditor(SerializedProperty propDashSettings, SerializedProperty dashSizeLinked, SerializedProperty propDashed)
        {
            DashStyleEditor editor = new DashStyleEditor {
                isLine         = false,
                propDashed     = propDashed,
                dashSizeLinked = dashSizeLinked
            };

            editor.LoadCommonProperties(propDashSettings);
            return(editor);
        }
 public override void OnEnable()
 {
     base.OnEnable();
     dashEditor = DashStyleEditor.GetRingDashEditor(propDashStyle, propMatchDashSpacingToSize, propDashed);
 }