public void showAskUI(bool b) { askUI.show(b); RectTransform trans = slot[selection].GetComponent <RectTransform>(); askUI.setPos(trans.anchoredPosition.x + 80, trans.anchoredPosition.y + 11); }
public void showAskUI() { askUI.show(false); RectTransform trans = slots[selection].GetComponent <RectTransform>(); askUI.setPos(trans.anchoredPosition.x + 80, trans.anchoredPosition.y + 11); if (GameEquipInfoUI.instance.IsShow) { GameEquipInfoUI.instance.unShowFade(); } }
public void showAskUI(bool b) { if (!slot[pos].Enabled || slot[pos].Item == null) { return; } askUI.show(b); RectTransform trans = slot[pos].GetComponent <RectTransform>(); askUI.setPos(trans.anchoredPosition.x + 80, trans.anchoredPosition.y + 11); }