コード例 #1
0
        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);
        }