예제 #1
0
            private void OnNewWaveEvent(NewWaveEvent Event)
            {
                NewWaveText_.gameObject.SetActive(true);
                NewWaveText_.text = $"第{WaveManager.GetWave().Wave}波";

                NewWaveText_.transform.ExecuteMotion(new SequenceMotion(
                                                         new FadeInMotion(0.8f),
                                                         new WaitTimeMotion(2.0f),
                                                         new FadeOutMotion(0.8f),
                                                         new CallbackMotion(() =>
                {
                    NewWaveText_.gameObject.SetActive(false);
                })));
            }