Commit 4458bd87 authored by 18류지석's avatar 18류지석

이제 인벤토리 캔버스 꺼놔도 됨 ㅎㅎ

parent a7668b1f
...@@ -51,6 +51,7 @@ MonoBehaviour: ...@@ -51,6 +51,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 674793b622d7c184882dfeb8784bbf92, type: 3} m_Script: {fileID: 11500000, guid: 674793b622d7c184882dfeb8784bbf92, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
ui: {fileID: 0}
droppedPrefab: {fileID: 1610049888013262, guid: ee63f05b79e18ce4bad2c226aa70a28e, droppedPrefab: {fileID: 1610049888013262, guid: ee63f05b79e18ce4bad2c226aa70a28e,
type: 2} type: 2}
popoutStrengthMultiplier: 9 popoutStrengthMultiplier: 9
......
...@@ -6,7 +6,7 @@ public class InventoryManager : Singleton<InventoryManager> { ...@@ -6,7 +6,7 @@ public class InventoryManager : Singleton<InventoryManager> {
public List<Item> itemList = new List<Item>(); public List<Item> itemList = new List<Item>();
public List<Addon> addonList = new List<Addon>(); public List<Addon> addonList = new List<Addon>();
InventoryUI ui; public InventoryUI ui;
public List<string>[] itemPool = new List<string>[4]; public List<string>[] itemPool = new List<string>[4];
public List<string>[] addonPool = new List<string>[4]; public List<string>[] addonPool = new List<string>[4];
public GameObject droppedPrefab; public GameObject droppedPrefab;
...@@ -16,8 +16,7 @@ public class InventoryManager : Singleton<InventoryManager> { ...@@ -16,8 +16,7 @@ public class InventoryManager : Singleton<InventoryManager> {
private void Start() private void Start()
{ {
ui = GameObject.Find("InventoryCanvas").GetComponent<InventoryUI>(); ui.gameObject.SetActive(false);
GameObject.Find("InventoryCanvas").SetActive(false);
player = GameObject.Find("Player"); player = GameObject.Find("Player");
......
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