Skip to content

Instantly share code, notes, and snippets.

@curious-username
Created December 26, 2021 04:19
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/cf47dd6f3134e8a9b9dc5a7022464030 to your computer and use it in GitHub Desktop.
Save curious-username/cf47dd6f3134e8a9b9dc5a7022464030 to your computer and use it in GitHub Desktop.
dodgeenemy method
private void DodgeEnemy()
{
_dodgeEnemy = GameObject.Find("Dodge_Enemy");
if (_dodgeEnemy != null)
{
_dodgeEnemy.GetComponent<DodgeEnemy>().PlayerLaserSpawned();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment