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