private void OnOutOfSpace(OutOfSpaceEvent obj) { _soundPlayer.PlayOneShot(_lose); }
private void OnOutOfSpace(OutOfSpaceEvent obj) { _lost = true; }
private void OnOutOfSpace(OutOfSpaceEvent obj) { var text = Instantiate(_textPrefab, transform); text.Initialize($"You ran out of space..... Game will end in 5 seconds.", _movingTextTime); }