//private bool created = false; void Awake() { tower = TowerFactory.CreateTower(tower); if (tower.bulletPrefab != null) { PoolManager.CheckForPool(tower.bulletPrefab, 500); } /*if (!created) * { * DontDestroyOnLoad(gameObject); * created = true; * //Debug.Log("Awake: " + gameObject); * }*/ }