2024-03-05 17:34:41 +08:00
|
|
|
#if GRIFFIN
|
2023-12-30 17:37:48 +08:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace Pinwheel.Griffin.SplineTool
|
|
|
|
{
|
|
|
|
[System.Serializable]
|
|
|
|
[AddComponentMenu("")]
|
|
|
|
[RequireComponent(typeof(GSplineCreator))]
|
|
|
|
public abstract class GSplineModifier : MonoBehaviour
|
|
|
|
{
|
|
|
|
[SerializeField]
|
|
|
|
private GSplineCreator splineCreator;
|
|
|
|
public GSplineCreator SplineCreator
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return splineCreator;
|
|
|
|
}
|
|
|
|
set
|
|
|
|
{
|
|
|
|
splineCreator = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract void Apply();
|
|
|
|
}
|
|
|
|
}
|
2024-03-05 17:34:41 +08:00
|
|
|
#endif
|