Example #1
0
 static public UCL_TweenerRotate UCL_Rotate(this Transform target, float duration, Quaternion target_rotation)
 {
     return(UCL_TweenerRotate.Create().Init(target, target_rotation, duration));
 }
Example #2
0
 static public UCL_TweenerRotate UCL_Rotate(this Transform target, float duration, float x, float y, float z)
 {
     return(UCL_TweenerRotate.Create().Init(target, Quaternion.Euler(x, y, z), duration));
 }
Example #3
0
        public static UCL_TweenerRotate Create()
        {
            var obj = new UCL_TweenerRotate();

            return(obj);
        }
Example #4
0
 static public UCL_TweenerRotate UCL_Rotate(this Transform target, float duration, Vector3 target_rotation)
 {
     return(UCL_TweenerRotate.Create().Init(target, target_rotation.x, target_rotation.y, target_rotation.z, duration));
 }