Beispiel #1
0
    public void showAskUI(bool b)
    {
        askUI.show(b);

        RectTransform trans = slot[selection].GetComponent <RectTransform>();

        askUI.setPos(trans.anchoredPosition.x + 80, trans.anchoredPosition.y + 11);
    }
Beispiel #2
0
    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();
        }
    }
Beispiel #3
0
    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);
    }