Exemple #1
0
    /// <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);
        }
    }
Exemple #2
0
 public TweenTarget(TweenTarget target)
 {
     _value    = target._value;
     obj       = target.obj;
     valueName = target.valueName;
 }
Exemple #3
0
	public ActionParam()
	{
		target = TweenTarget.Position;
		mode = TweenMode.To;
		option = new OptionData();
	}
Exemple #4
0
 public ActionParam()
 {
     target = TweenTarget.Position;
     mode   = TweenMode.To;
     option = new OptionData();
 }