Table of Contents

DORotate Method

Namespace
DG.Tweening
Assembly
DOTween.dll

DORotate(Transform, Vector3, float, RotateMode)

public static TweenerCore<Quaternion, Vector3, QuaternionOptions> DORotate(this Transform target, Vector3 endValue, float duration, RotateMode mode = RotateMode.Fast)

Parameters

target Transform
endValue Vector3
duration float
mode RotateMode

Returns

TweenerCore<Quaternion, Vector3, QuaternionOptions>