public void RotateGameObject(GameObject objectRotate, Vector3 targetRotation, float RotationSpeed, EasingType type) { Debug.Log(type); TweenRotate newTween = new TweenRotate(objectRotate, targetRotation, RotationSpeed, easingCombiner[type]); _activeTweens.Add(newTween); }
public void RotateGameObject(GameObject objectRotate, Vector3 targetRotation, float rotationSpeed, EaseTypes type, Action TweenComplete, Action TweenUpdate) { Debug.Log(type); TweenRotate newTween = new TweenRotate(objectRotate, targetRotation, rotationSpeed, easingCombiner[type], TweenComplete, TweenUpdate); _activeTweens.Add(newTween); }