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