void Start() { thisSceneController = InspectorAssignmentSceneController as IDictionarySupport; if (StatusCheck()) { IconeChange(); } }
public void OpenBuyWindow(string name, GameObject _button) { thisSceneController = InspectorAssignmentSceneController as IDictionarySupport; BuyWindowOpen?.Invoke(); BuyWindowBlur.SetActive(true); blurTransparencyChange.ButtonClicked = true; Name = name; Price = thisSceneController.PriceDictionary.GetPrice(name); PriceText.text = $"{Price.ToString()} points"; Button = _button; pauseButton.PauseButtonClicked += CloseBuyWindow; }
public void Start() { thisSceneController = InspectorAssignmentSceneController as IDictionarySupport; }
public void Start() { thisSceneController = InspectorAssignmentSceneController as IDictionarySupport; ButtonName = gameObject.name; }