public static void RotateBy(this GameObject target, Vector3 amount, float time) { EGTween.RotateBy(target, EGTween.Hash("amount", amount, "time", time)); }
/// <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)); }
public static void RotateBy(this GameObject target, Hashtable args) { EGTween.RotateBy(target, args); }