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); }
public void SetSay(TalkBehaviour _talker, Talk _talk) { talker = _talker; viewSay = _talk.say; targetTracker.SetTarget(talker.transform, _talker.transform.position, margin); if (say != null) { StopCoroutine(say); } say = StartCoroutine(Say()); }
public void SetSay(TalkBehaviour _talker, Item _item) { talker = _talker; item = new Item(_item); iconImage.sprite = item.icon; targetTracker.SetTarget(talker.transform, _talker.transform.position, margin); if (delay != null) { StopCoroutine(delay); } delay = StartCoroutine(Delay()); }