Skip to content

Instantly share code, notes, and snippets.

@curious-username
Created December 18, 2021 23:28
Show Gist options
  • Save curious-username/ed1474277c7fc1a60ab461478c27e02f to your computer and use it in GitHub Desktop.
Save curious-username/ed1474277c7fc1a60ab461478c27e02f to your computer and use it in GitHub Desktop.
missile enemy variables
[SerializeField]
private GameObject _missile;
private Player _player;
private GameObject _playerObject;
private AudioSource _explosionSound;
private Animator _explosion;
private float _speed = 3.5f;
private Vector3 _direction = Vector3.right;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment