I am looking for a script that allows me to spawn a enemie in front of me by pressing a button. Example: In game pressing on 2, a enemie appears in front of me.
I made a tutorial about enemy spawning, hope this helps you. Or I have other videos that instantiate (spawn) objects.
Also for pressing a key down use GetKeyDown. Lots of refrences if you google.