|
@@ -230,12 +230,22 @@ namespace GFGGame
|
|
|
private void ShowModel()
|
|
|
{
|
|
|
ChangeModelAlphaAnim(_index, 0, 1);
|
|
|
+ Transform obj = _dressUpObjUIs[_index].sceneObject.transform.Find("Role/Body_eff");
|
|
|
+ if(obj != null)
|
|
|
+ {
|
|
|
+ obj.gameObject.SetActive(true);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void HideModel()
|
|
|
{
|
|
|
InitModel(_index);
|
|
|
ChangeModelAlphaAnim(_index, 1, 0);
|
|
|
+ Transform obj = _dressUpObjUIs[_index].sceneObject.transform.Find("Role/Body_eff");
|
|
|
+ if(obj != null)
|
|
|
+ {
|
|
|
+ obj.gameObject.SetActive(false);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void ChangeComResLayer()
|