public ActionButtonCreator(ButtonInstantiator buttonInstantiator, GameObject actionButtonPrefab) : base(buttonInstantiator, actionButtonPrefab) { _buttonColorManager = GameObject.FindObjectOfType <ButtonColorManager>(); }
public DrinkButtonCreator(ButtonInstantiator buttonInstantiator, GameObject drinkPrefab, GameObject beerPrefab) : base(buttonInstantiator, drinkPrefab) { _drinkPrefab = drinkPrefab; _beerPrefab = beerPrefab; _buttonColorManager = GameObject.FindObjectOfType <ButtonColorManager>(); }