/// <summary> /// 実行 /// </summary> public void Execute(bool isBackward = false) { if (playing) { return; } playing = true; TweenTarget target = setting.param.target; if (target == TweenTarget.Position) { MoveStart(isBackward); } else if (target == TweenTarget.Rotation) { RotateStart(isBackward); } else if (target == TweenTarget.Scale) { ScaleStart(isBackward); } else if (target == TweenTarget.Color) { ColorStart(isBackward); } }
public TweenTarget(TweenTarget target) { _value = target._value; obj = target.obj; valueName = target.valueName; }
public ActionParam() { target = TweenTarget.Position; mode = TweenMode.To; option = new OptionData(); }