void Spawn(GameObject myGameObject) { Instantiate(myGameObject, transform.position, Quaternion.identity, transform); thisLane.EnemySpawned(); }