Beispiel #1
0
        private void OnEnable()
        {
            CurveEditorState.Reset();

            _spline = (Bezier3DSpline)target;

            _splineDataEditor = (Bezier3DSplineDataInspector)CreateEditor(_spline.SplineData, typeof(Bezier3DSplineDataInspector));
            _splineDataEditor.ShouldDrawSceneGUI = false;
        }
        internal void OnEnable()
        {
            CurveEditorState.Reset();

            _spline = target as Bezier3DSplineData;
        }