public void SwitchActivation() { if (GameManager.Get().turretSpawner.preview) { GameManager.Get().SwitchTurretActivation(); } isActivated = !isActivated; if (isActivated) { explosionRadius.SetActive(true); meteorButton.image.color = enableColor; uiAnimation.ChangeGradientElement(0, 0); } else { explosionRadius.SetActive(false); meteorButton.image.color = disableColor; uiAnimation.ChangeGradientElement(0, 2); } }