Exemple #1
0
        public static TweenRotate Rotate(GameObject owner, float duration, bool is_local = false)
        {
            var tween = new TweenRotate(owner, duration);

            tween.isLocal = is_local;
            return(tween);
        }
Exemple #2
0
        public static TweenRotate RotateAdd(GameObject owner, Vector3 delta, float duration, bool is_local = false)
        {
            var tween = new TweenRotate(owner, duration);

            tween.To      = tween.GetValue() + delta;
            tween.isLocal = is_local;
            return(tween);
        }
Exemple #3
0
 public static TweenRotate IsLocal(this TweenRotate tween, bool is_local)
 {
     tween.isLocal = is_local;
     return(tween);
 }