38 lines
934 B
C#
38 lines
934 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
|
||
|
|
public class BankVaultManager : MonoBehaviour
|
||
|
|
{
|
||
|
|
// public static BankVaultManager Instance { get; private set; }
|
||
|
|
//
|
||
|
|
// private Dictionary<int, Image> bankItemsDict = new Dictionary<int, Image>();
|
||
|
|
//
|
||
|
|
// public int[] bankItemSlots = new int[25];
|
||
|
|
// public int[] bankItemCount = new int[25];
|
||
|
|
// public int maxItemCount = 1000; //Max stack number.
|
||
|
|
// private Sprite[] itemSprites = new Sprite[25];
|
||
|
|
//
|
||
|
|
//
|
||
|
|
// private void Awake()
|
||
|
|
// {
|
||
|
|
// Instance = this;
|
||
|
|
// InitializeDictionary();
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// private void InitializeDictionary()
|
||
|
|
// {
|
||
|
|
// for (int i = 0; i < 25; i++)
|
||
|
|
// {
|
||
|
|
// bankItemsDict.Add(i, GameObject.Find("Vault_item_" + i).GetComponent<Image>());
|
||
|
|
// }
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
// public void UpdateBank(int[] itemIds, int[] count)
|
||
|
|
// {
|
||
|
|
//
|
||
|
|
// }
|
||
|
|
//
|
||
|
|
}
|