public static void PlayTweenAlpha(TweenAlpha tween, float from, float to, float duration = 1f, float delay = 0f) { if (tween == null) { return; } tween.from = from; tween.to = to; tween.duration = duration; tween.delay = delay; tween.PlayTween(); }