Beispiel #1
0
 public void FailedAnimate(IStation station)
 {
     _facePrefab.GetComponent <SpriteRenderer>().DOFade(0.0f, _failFadeDuration).Play();
     _labelPrefab.GetComponent <SpriteRenderer>().DOFade(0.0f, _failFadeDuration).Play();
     _passengerPrefab.GetComponent <SpriteRenderer>().DOFade(0.0f, _failFadeDuration).Play().OnComplete(() => {
         MonoBehaviour.Destroy(_passengerPrefab);
         station.RearrangePassengersView();
     });
 }
Beispiel #2
0
 private void _rearrangeLineAnimate(IStation station)
 {
     station.RearrangePassengersView();
 }