PO/Library/PackageCache/com.unity.2d.path@4.0.2/Editor/Shapes/IShape.cs

20 lines
337 B
C#
Raw Normal View History

2022-01-12 10:06:03 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEditor.U2D.Path
{
public enum ShapeType
{
Polygon,
Spline
}
public interface IShape
{
ShapeType type { get; }
bool isOpenEnded { get; }
ControlPoint[] ToControlPoints();
}
}