示例#1
0
 public void FadeOutAndFadeInStar2()
 {
     FadeOutTween.Run(Star, 0.5f)
     .OnFinish(() =>
     {
         FadeInTween.Run(Star, 0.5f);
     });
 }
示例#2
0
 public override void Run(GameObject target, TweenActionSettings s)
 {
     TweenSequence.Run2(
         () => FadeOutTween.Run(target, s.Duration).SetEase(s.Ease),
         () => FadeInTween.Run(target, s.Duration).SetEase(s.Ease));
 }
示例#3
0
 public void ThreeStarsFadeOut()
 {
     FadeOutTween.Run(Star1, 0.25f);
     FadeOutTween.Run(Star2, 0.25f).SetDelay(0.15f);
     FadeOutTween.Run(Star3, 0.25f).SetDelay(0.30f);
 }
示例#4
0
 public void FadeOutAndFadeInStar3()
 {
     TweenSequence.Run2(
         () => FadeOutTween.Run(Star, 0.5f),
         () => FadeInTween.Run(Star, 0.5f));
 }
示例#5
0
 public void FadeOutAndFadeInStar()//todo: don't work, fix!
 {
     FadeOutTween.Run(Star, 0.5f);
     FadeInTween.Run(Star, 0.5f).SetDelay(0.5f);
 }
示例#6
0
 public void FadeOutStar()
 {
     FadeOutTween.Run(Star, 0.5f);
 }