|
@@ -632,21 +632,23 @@ namespace GFGGame
|
|
|
|
|
|
private void UpdateRoleObj(string value)
|
|
private void UpdateRoleObj(string value)
|
|
{
|
|
{
|
|
- var roleContainerList = LeagueDataManager.Instance.RoleContainerList;
|
|
|
|
- MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject, false, false);
|
|
|
|
|
|
+ if (IsTeaParty) {
|
|
|
|
+ var roleContainerList = LeagueDataManager.Instance.RoleContainerList;
|
|
|
|
+ MyDressUpHelper.dressUpObj.setSceneObj(_sceneObject, false, false);
|
|
|
|
|
|
- for (int i = 0; i < roleContainerList.Count; i++) {
|
|
|
|
- for (int j = 0; j < roleContainerList[i].EquipIds.Count; j++) {
|
|
|
|
- ET.Log.Debug("打印测试-----六个人物------服装数据----" + roleContainerList[i].EquipIds[j]);
|
|
|
|
- }
|
|
|
|
- if (value == (i+1).ToString() && roleContainerList[i].EquipIds.Count > 0)
|
|
|
|
- {
|
|
|
|
- MyDressUpHelper.dressUpObj.PutOnItemList(roleContainerList[i].EquipIds);
|
|
|
|
- return;
|
|
|
|
|
|
+ for (int i = 0; i < roleContainerList.Count; i++) {
|
|
|
|
+ for (int j = 0; j < roleContainerList[i].EquipIds.Count; j++) {
|
|
|
|
+ ET.Log.Debug("打印测试-----六个人物------服装数据----" + roleContainerList[i].EquipIds[j]);
|
|
|
|
+ }
|
|
|
|
+ if (value == (i+1).ToString() && roleContainerList[i].EquipIds.Count > 0)
|
|
|
|
+ {
|
|
|
|
+ MyDressUpHelper.dressUpObj.PutOnItemList(roleContainerList[i].EquipIds);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- MyDressUpHelper.dressUpObj.PutOnDefaultDressUpData(IsTeaParty);
|
|
|
|
|
|
+ MyDressUpHelper.dressUpObj.PutOnDefaultDressUpData(IsTeaParty);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private void UpdateMusic(string value)
|
|
private void UpdateMusic(string value)
|