public static void MakeNativeToast(string _text) { if (instance.isNativeToasting) { instance.nativeQueue.Enqueue(_text); } else { instance.isNativeToasting = true; instance.basicStyleTextText.text = _text; LeanTween.alpha(instance.basicStyleText, 1f, 0.8f).setIgnoreTimeScale(true).setOnComplete(() => { LeanTween.delayedCall(0.8f, () => { LeanTween.alpha(instance.basicStyleText, 0, 0.8f); }).setIgnoreTimeScale(true); }).setIgnoreTimeScale(true); LeanTween.alpha(instance.basicStyleImage, 0.75f, 0.8f).setIgnoreTimeScale(true).setOnComplete(() => { LeanTween.delayedCall(0.8f, () => { LeanTween.alpha(instance.basicStyleImage, 0f, 0.8f).setIgnoreTimeScale(true); }); }).setIgnoreTimeScale(true);; LeanTween.delayedCall(2.6f, () => { instance.isNativeToasting = false; instance.ContinueNativeQueue(); }).setIgnoreTimeScale(true);; } }