public PropInfo(AnimMode mode, string nm, Ease e, float d, object v, object option, object altV) { this.mode = mode; this.name = nm; this.ease = e; this.value = v; this.dur = d; this.altValue = altV; this.option = option; }
public TweenHash ByAnimMode(AnimMode mode, string memberName, Ease ease, float dur, object value, object end, object option) { _props.Add(new PropInfo(mode, memberName, ease, dur, value, option, end)); return(this); }
void SetAnim(AnimMode mode) { anim.SetInteger("animation", (int)mode); }
public PropInfo(AnimMode mode, string nm, Ease e, object v, float d, object option, object altV) { this.mode = mode; this.name = nm; this.ease = e; this.value = v; this.dur = d; this.altValue = altV; this.option = option; }
public TweenHash ByAnimMode(AnimMode mode, string memberName, Ease ease, object value, float dur, object end) { _props.Add(new PropInfo(mode, memberName, ease, value, dur, null, end)); return this; }