Commit 7c257c6e authored by 18류지석's avatar 18류지석

인벤토리에서 아이템 버렸을 때 장착 애드온 사라지지 않는 거 수정

parent f3bc76e6
......@@ -62,7 +62,7 @@ Rigidbody2D:
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 0
m_Constraints: 4
--- !u!61 &61781846804253628
BoxCollider2D:
m_ObjectHideFlags: 1
......
......@@ -112,6 +112,11 @@ public class InventoryUI : MonoBehaviour {
else
{
frameObj.SetActive(false);
for (int i = 0; i < 4; i++)
{
infoAddons[i].SetActive(false);
infoAddonsFrame[i].SetActive(false);
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment