Example #1
0
    public static void Open(ItemManager.Type type)
    {
        if (Instance == null)
        {
            Instance = ResourceManager.Instance.Spawn("EquipUpgradeUI", ResourceManager.Type.UI).GetComponent <EquipUpgradeUI>();
        }

        Instance.Init(type);
    }
Example #2
0
 public static void Close()
 {
     Destroy(Instance.gameObject);
     Instance = null;
 }
Example #3
0
 private void EquipUpgradeOnClick()
 {
     EquipUpgradeUI.Open(ItemManager.Type.Warehouse);
 }