Skip to content

Instantly share code, notes, and snippets.

@curious-username
Created December 26, 2021 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save curious-username/20c0816c0a88ce3880589af13f279347 to your computer and use it in GitHub Desktop.
Save curious-username/20c0816c0a88ce3880589af13f279347 to your computer and use it in GitHub Desktop.
explosion method
private void Explosion()
{
_explosionSound.Play();
Instantiate(_explosionObject, transform.position, Quaternion.identity);
Destroy(gameObject);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment