using System; using UnityEngine; using UnityEngine.Playables; using UnityEngine.Timeline; [Serializable] public class CurveControlBehaviour : PlayableBehaviour { [HideInInspector] public TimelineClip Clip; public AnimationCurve ac; public String valueName; public CurveValueType mCurveValueType; public int index; public float defaultValue; public CurveControlType m_curveControlType; } public enum CurveControlType { Start, Transition, End, } public enum CurveValueType { Float, Vector2, Vector4, }