public static void Open(ItemManager.Type type) { ExploreController.Instance.StopEnemy(); if (Instance == null) { Instance = ResourceManager.Instance.Spawn("BagUI", ResourceManager.Type.UI).GetComponent <BagUI>(); } Instance.Init(type); }