예제 #1
0
 private void OnOutOfSpace(OutOfSpaceEvent obj)
 {
     _soundPlayer.PlayOneShot(_lose);
 }
예제 #2
0
 private void OnOutOfSpace(OutOfSpaceEvent obj)
 {
     _lost = true;
 }
예제 #3
0
        private void OnOutOfSpace(OutOfSpaceEvent obj)
        {
            var text = Instantiate(_textPrefab, transform);

            text.Initialize($"You ran out of space..... Game will end in 5 seconds.", _movingTextTime);
        }