|
@@ -298,20 +298,21 @@ namespace GFGGame
|
|
}
|
|
}
|
|
private void OnBtnNormalClick(EventContext context)
|
|
private void OnBtnNormalClick(EventContext context)
|
|
{
|
|
{
|
|
- _isNormalSuitType = true;
|
|
|
|
|
|
+ // _isNormalSuitType = true;
|
|
GObject gObject = context.sender as GObject;
|
|
GObject gObject = context.sender as GObject;
|
|
int suitId = (int)gObject.data;
|
|
int suitId = (int)gObject.data;
|
|
ShowSuitPartList(suitId, false);
|
|
ShowSuitPartList(suitId, false);
|
|
}
|
|
}
|
|
private void OnBtnActionClick(EventContext context)
|
|
private void OnBtnActionClick(EventContext context)
|
|
{
|
|
{
|
|
- _isNormalSuitType = false;
|
|
|
|
|
|
+ // _isNormalSuitType = false;
|
|
GObject gObject = context.sender as GObject;
|
|
GObject gObject = context.sender as GObject;
|
|
int suitId = (int)gObject.data;
|
|
int suitId = (int)gObject.data;
|
|
ShowSuitPartList(suitId, true);
|
|
ShowSuitPartList(suitId, true);
|
|
}
|
|
}
|
|
private void ShowSuitPartList(int suitId, bool showAction)
|
|
private void ShowSuitPartList(int suitId, bool showAction)
|
|
{
|
|
{
|
|
|
|
+ _isNormalSuitType = !showAction;
|
|
this.showListParts2(suitId);
|
|
this.showListParts2(suitId);
|
|
this.hideListParts();
|
|
this.hideListParts();
|
|
MyDressUpHelper.dressUpObj.TakeOffAll();
|
|
MyDressUpHelper.dressUpObj.TakeOffAll();
|