[LeanTween] How do I set the phase of a looping animation?

For example:

LeanTween.moveY(gameObject.GetComponent<RectTransform>(), 2, 1f).setLoopPingPong().setEase(LeanTweenType.easeInOutSine).setPhase(UnityEngine.Random.value);

You can remove .setEase

Try This

LeanTween.moveY(gameObject.GetComponent<RectTransform>(), 2, 1f).setLoopPingPong();