Beispiel #1
0
 public void FadeOutAndFadeInStar2()
 {
     FadeOutTween.Run(Star, 0.5f)
     .OnFinish(() =>
     {
         FadeInTween.Run(Star, 0.5f);
     });
 }
Beispiel #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));
 }
Beispiel #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);
 }
Beispiel #4
0
 public void FadeOutAndFadeInStar3()
 {
     TweenSequence.Run2(
         () => FadeOutTween.Run(Star, 0.5f),
         () => FadeInTween.Run(Star, 0.5f));
 }
Beispiel #5
0
 public void FadeOutAndFadeInStar()//todo: don't work, fix!
 {
     FadeOutTween.Run(Star, 0.5f);
     FadeInTween.Run(Star, 0.5f).SetDelay(0.5f);
 }
Beispiel #6
0
 public void FadeOutStar()
 {
     FadeOutTween.Run(Star, 0.5f);
 }