2024-03-05 17:34:41 +08:00
|
|
|
#if GRIFFIN
|
2023-12-30 17:37:48 +08:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace Pinwheel.Griffin.PaintTool
|
|
|
|
{
|
|
|
|
[System.Serializable]
|
|
|
|
public struct GRemapPainterParams
|
|
|
|
{
|
|
|
|
[SerializeField]
|
|
|
|
private AnimationCurve curve;
|
|
|
|
public AnimationCurve Curve
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
if (curve == null)
|
|
|
|
{
|
|
|
|
curve = AnimationCurve.EaseInOut(0, 0, 1, 1);
|
|
|
|
}
|
|
|
|
return curve;
|
|
|
|
}
|
|
|
|
set
|
|
|
|
{
|
|
|
|
curve = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-05 17:34:41 +08:00
|
|
|
#endif
|