public void CloseFadeOut(float aniTime) { //先淡出对话框 Dialog.DOFade(0f, 0.2f); Text.DOFade(0f, 0.2f); Draw.rectTransform.DOAnchorPos(StartPos, aniTime); Draw.DOFade(0f, aniTime); }
public void FadeBg(float sec) { Bg.Alpha = 0f; Bg.DOFade(1f, sec); }
public void MaskFadeIn(float sec, float endAlpha) { BgMask.DOFade(endAlpha, sec); }