public static void AddRealPriceToContainer(GameObject _objContainer, int _dSlotIndex, string _strInitNum) { GameObject SlotBase = ResourceLoad.GetEzGuiTexture(ScrollData.objShopSlotNumPad); GameObject SlotFont = ResourceLoad.GetSpriteText(ScrollData.objSpriteText22); SlotBase.name = "RealPrice" + "SlotBase_" + _dSlotIndex; SlotFont.name = m_strCubeSlotFont + _dSlotIndex; SlotFont.GetComponent <EzGui_SpriteText>().SetText(_strInitNum); SetSlotPos(1, SlotBase, SlotFont, null); _objContainer.GetComponent <UIListItemContainer>().MakeChild(SlotBase); }
public static void AddLimitTimeToContainer(GameObject _objContainer, int _dSlotIndex, int _dSlotBaseIndex, string _strInitNum) { GameObject SlotBase = ResourceLoad.GetEzGuiTexture(ScrollData.objShopSlotNumPad); GameObject SlotFont = ResourceLoad.GetSpriteText(ScrollData.objSpriteText22); GameObject SlotIcon = ResourceLoad.GetEzGuiTexture(ScrollData.objIconSellTime_39_40); SlotBase.name = "LimitTime" + "SlotBase_" + _dSlotIndex; SlotFont.name = m_strLimitTimeSlotFont + _dSlotIndex; SlotIcon.name = "LimitTime" + "SlotIcon_" + _dSlotIndex; SlotFont.GetComponent <EzGui_SpriteText>().SetText(_strInitNum); SetSlotPos(_dSlotBaseIndex, SlotBase, SlotFont, SlotIcon); _objContainer.GetComponent <UIListItemContainer>().MakeChild(SlotBase); }
public static void AddExpToContainer(GameObject _objContainer, int _dSlotIndex, int _dSlotBaseIndex, string _strInitNum) { GameObject SlotBase = ResourceLoad.GetEzGuiTexture(ScrollData.objShopSlotNumPad); GameObject SlotFont = ResourceLoad.GetSpriteText(ScrollData.objSpriteText22); GameObject SlotIcon = ResourceLoad.GetEzGuiTexture(ScrollData.objIconExp_39_40); GameObject SlotVari = ResourceLoad.GetEzGuiTexture(ScrollData.objIconPlus_20_21); SlotBase.name = "Exp" + "SlotBase_" + _dSlotIndex; SlotFont.name = m_strExpSlotFont + _dSlotIndex; SlotIcon.name = "Exp" + "SlotIcon" + _dSlotIndex; SlotVari.name = "Exp" + "SlotVari" + _dSlotIndex; SlotFont.GetComponent <EzGui_SpriteText>().SetText(_strInitNum); SetSlotPos(_dSlotBaseIndex, SlotBase, SlotFont, SlotIcon, SlotVari); _objContainer.GetComponent <UIListItemContainer>().MakeChild(SlotBase); }