public static Tween DOScale(this Transform transform, Vector3 target, float time) { MonoBehaviour mono = transform.GetComponent <MonoBehaviour>(); Tween tween = new Tween(transform, target, time); Coroutine coroutine = mono.StartCoroutine(mono.DOScale(tween)); tween.SetCoroutine(coroutine); return(tween); }