BITFALL/Assets/Plugins/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain .../Runtime/Scripts/PaintTool/GeometryTexturePainters/GRemapPainterParams.cs

29 lines
561 B
C#

#if GRIFFIN
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;
}
}
}
}
#endif