using System; using UnityEngine; [Serializable] public class MegaSculptCurve { public AnimationCurve curve = new AnimationCurve(new Keyframe(0f, 0f), new Keyframe(1f, 0f)); public Vector3 offamount = Vector3.one; public Vector3 sclamount = Vector3.one; public MegaAxis axis; public MegaAffect affectOffset = MegaAffect.Y; public MegaAffect affectScale = MegaAffect.None; public bool enabled = true; public float weight = 1f; public string name = "None"; public Color regcol = Color.yellow; public Vector3 origin = Vector3.zero; public Vector3 boxsize = Vector3.one; public bool uselimits; public Vector3 size = Vector3.zero; public MegaSculptCurve() { curve = new AnimationCurve(new Keyframe(0f, 0f), new Keyframe(1f, 0f)); offamount = Vector3.one; sclamount = Vector3.one; axis = MegaAxis.X; affectOffset = MegaAffect.Y; affectScale = MegaAffect.None; enabled = true; weight = 1f; name = "None"; uselimits = false; } public static MegaSculptCurve Create() { return new MegaSculptCurve(); } }