Beispiel #1
0
 public static void RotateBy(this GameObject target, Vector3 amount, float time)
 {
     EGTween.RotateBy(target, EGTween.Hash("amount", amount, "time", time));
 }
Beispiel #2
0
 /// <summary>
 /// Starts the rotation.
 /// </summary>
 public void StartRotation()
 {
     EGTween.RotateBy(gameObject, EGTween.Hash("z", -1.0F, "speed", (rotateSpeed), "easeType", EGTween.EaseType.linear, "loopType", EGTween.LoopType.loop));
 }
Beispiel #3
0
 public static void RotateBy(this GameObject target, Hashtable args)
 {
     EGTween.RotateBy(target, args);
 }