public void InitGirlInfo(GirlMemberInfo girlInfo) { if (girlInfo == null) { return; } _GirlInfo = girlInfo; _UIGirlItem.InitGirl(_GirlInfo); if (_GirlInfo.EquipInfo != null) { _EquipItem.InitItemInfo(_GirlInfo.EquipInfo); } }
public void InitGirlInfo(GirlMemberInfo girlInfo) { if (girlInfo == null) { return; } _GirlInfo = girlInfo; _GirlMemberItem.InitGirl(_GirlInfo); if (_Currencys.Length == 3) { _Currencys[0].Init(0, 0, PlayerData.Instance.GetCurrency(Tables.CURRENCY_TYPE.DIAMOND)); _Currencys[1].Init(0, 0, PlayerData.Instance.GetCurrency(Tables.CURRENCY_TYPE.LUXURY)); _Currencys[2].Init(0, 0, PlayerData.Instance.GetCurrency(Tables.CURRENCY_TYPE.GOLD)); } }