Exemple #1
0
 public MultiValueButtonCreator(
     ButtonInstantiator buttonInstantiator,
     GameObject multiValueButtonPrefab,
     GameObject multiValueChildButtonPrefab) : base(buttonInstantiator, multiValueButtonPrefab)
 {
     _multiValueChildButtonPrefab = multiValueChildButtonPrefab;
 }
Exemple #2
0
 public MultiValueSliderCreator(
     ButtonInstantiator buttonInstantiator,
     GameObject multiValueSliderHorizontal5Prefab,
     GameObject multiValueSliderVertical5Prefab) : base(buttonInstantiator, multiValueSliderHorizontal5Prefab)
 {
     _multiValueSliderHorizontal5Prefab = multiValueSliderHorizontal5Prefab;
     _multiValueSliderVertical5Prefab   = multiValueSliderVertical5Prefab;
 }
 public ActionButtonCreator(ButtonInstantiator buttonInstantiator, GameObject actionButtonPrefab) : base(buttonInstantiator, actionButtonPrefab)
 {
     _buttonColorManager = GameObject.FindObjectOfType <ButtonColorManager>();
 }
Exemple #4
0
 public ButtonCreator(ButtonInstantiator buttonInstantiator, GameObject defaultButtonPrefab)
 {
     _buttonInstantiator  = buttonInstantiator;
     _defaultButtonPrefab = defaultButtonPrefab;
 }
Exemple #5
0
 public OnOffButtonCreator(ButtonInstantiator buttonInstantiator, GameObject onOffButtonPrefab) : base(buttonInstantiator, onOffButtonPrefab)
 {
 }
 public DrinkButtonCreator(ButtonInstantiator buttonInstantiator, GameObject drinkPrefab, GameObject beerPrefab) : base(buttonInstantiator, drinkPrefab)
 {
     _drinkPrefab        = drinkPrefab;
     _beerPrefab         = beerPrefab;
     _buttonColorManager = GameObject.FindObjectOfType <ButtonColorManager>();
 }