private void OnEnable() { DestroyGameObjects(); titleLabel.text = "Product Forecast"; graphContainer = transform.Find("graphContainer").GetComponent <RectTransform>(); forecast.CallForecast(); forecast.onGetForecast += Forecast_onGetForecast; noProductsPopup.SetActive(false); loadingPopup.SetActive(true); }