Example #1
0
 public void OnColorPicker()
 {
     buttonWorks[2]    = !buttonWorks[2];
     colorPicker.Color = brush.brushColor;
     colorPicker.SetOnValueChangeCallback(ChangeColor);
     colorPicker.gameObject.SetActive(buttonWorks[2]);
 }
Example #2
0
 public void View(ShopBehaviour _shop)
 {
     UIInGame.instance.shopMenu.HideAnimate(null);
     gameObject.SetActive(true);
     shop = _shop;
     targetTracker.SetTarget(_shop.transform, Camera.main.WorldToScreenPoint(_shop.transform.position), Vector3.zero);
     colorPicker.Color = _shop.info.tentColor;
     colorPicker.SetOnValueChangeCallback(OnChangeColor);
     signListView.ViewList(true, false, UpdateSign);
 }