protected void OnSceneGUI() { var shape = target as Shape; if (shape == null || shape.ShapeData == null) { return; } Handles.color = Color.blue; Handles.matrix = shape.transform.localToWorldMatrix; ShapeEditorUtils.DrawLines(shape); }
protected void OnSceneGUI() { var shape = target as Shape; if (shape == null || shape.ShapeData == null) { return; } Handles.color = Color.blue; Handles.matrix = shape.transform.localToWorldMatrix; ShapeEditorUtils.DrawLines(shape); }