private void OnSceneGUI()
        {
            SplineObject splineObj = (SplineObject)target;

            Handles.color = new Color(1, 0.5f, 0, 1);
            SplineEditor.DrawSplineSys(splineObj.splineSys, splineObj.transform.localToWorldMatrix);

            SplineEditor.EditSplineSys(splineObj.splineSys, splineObj.transform.localToWorldMatrix, splineObj);
        }
Exemple #2
0
        private void OnSceneGUI()
        {
            SplineObject splineObj = (SplineObject)target;

            SplineEditor.EditSplineSys(splineObj.splineSys, splineObj.transform.localToWorldMatrix);
        }