We use DOTween for Steambirds. Honestly not sure why - that decision was made a long time before I joined the project - but we don't have any reason to change it, so that's a point in its favour.
This looks awesome. Besides using a camera shake library, I've just been manually implementing tweening where I need it, and haven't thought of using a library for it (or even making my own). As a result, not as many things are tweened as should be. Going to give DoTween a shot!
Comments
Here is how simple it is:
IEnumerator ReleasePrefab(GameObject obj, bool showDust) { var bounds = obj.CalculateBounds(); var pos = obj.transform.position; yield return obj.transform.DOMove(pos - new Vector3(0, -Mathf.Min(0.1f, bounds.size.y / 3f), 0), 0.3f).SetEase(Ease.OutCubic).WaitForCompletion(); yield return obj.transform.DOMove(pos, 0.2f).SetEase(Ease.InCubic).WaitForCompletion(); ...other stuff(the DoTween stuff is the .DoMove onwards)