void Awake() { ammoCount = ammo_count; lastFired = fireRate; sounds = GetComponent <unitSounds> (); held = null; }
void Awake() { if (!instance) { instance = this; } isPaused = false; sounds = GetComponent <unitSounds> (); enemies = new List <Enemy> (); waypoints = new List <Waypoint> (); }