コード例 #1
0
 public MultiValueButtonCreator(
     ButtonInstantiator buttonInstantiator,
     GameObject multiValueButtonPrefab,
     GameObject multiValueChildButtonPrefab) : base(buttonInstantiator, multiValueButtonPrefab)
 {
     _multiValueChildButtonPrefab = multiValueChildButtonPrefab;
 }
コード例 #2
0
 public MultiValueSliderCreator(
     ButtonInstantiator buttonInstantiator,
     GameObject multiValueSliderHorizontal5Prefab,
     GameObject multiValueSliderVertical5Prefab) : base(buttonInstantiator, multiValueSliderHorizontal5Prefab)
 {
     _multiValueSliderHorizontal5Prefab = multiValueSliderHorizontal5Prefab;
     _multiValueSliderVertical5Prefab   = multiValueSliderVertical5Prefab;
 }
コード例 #3
0
 public ActionButtonCreator(ButtonInstantiator buttonInstantiator, GameObject actionButtonPrefab) : base(buttonInstantiator, actionButtonPrefab)
 {
     _buttonColorManager = GameObject.FindObjectOfType <ButtonColorManager>();
 }
コード例 #4
0
ファイル: ButtonCreator.cs プロジェクト: albpb2/discopub
 public ButtonCreator(ButtonInstantiator buttonInstantiator, GameObject defaultButtonPrefab)
 {
     _buttonInstantiator  = buttonInstantiator;
     _defaultButtonPrefab = defaultButtonPrefab;
 }
コード例 #5
0
 public OnOffButtonCreator(ButtonInstantiator buttonInstantiator, GameObject onOffButtonPrefab) : base(buttonInstantiator, onOffButtonPrefab)
 {
 }
コード例 #6
0
ファイル: DrinkButtonCreator.cs プロジェクト: albpb2/discopub
 public DrinkButtonCreator(ButtonInstantiator buttonInstantiator, GameObject drinkPrefab, GameObject beerPrefab) : base(buttonInstantiator, drinkPrefab)
 {
     _drinkPrefab        = drinkPrefab;
     _beerPrefab         = beerPrefab;
     _buttonColorManager = GameObject.FindObjectOfType <ButtonColorManager>();
 }