i am currently working on the controls for my game. they will be similar to robotron,smash tv, or geometry. i have been trying to figure out for 2 days now how to instantiate my projectile prefab. i've scoured google and the forums for hours. Any help would be greatly appreciated.
The prefab i am trying to spawn is placed here Assets/Prefabs/Projectile.
2d Top-Down, spawning bullets in C#
The prefab i am trying to spawn is placed here Assets/Prefabs/Projectile.
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- {