22 lines
418 B
C#
22 lines
418 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class BankVaultCanvas : MonoBehaviour
|
||
|
|
{
|
||
|
|
private void OnEnable()
|
||
|
|
{
|
||
|
|
InventoryManager.Instance.bankVaultRefresh();
|
||
|
|
|
||
|
|
if (!UIManager.Instance.getInterface<GameObject>("LoginScreen").activeInHierarchy)
|
||
|
|
{
|
||
|
|
UIManager.Instance.DisablePlayerCanvasesOnBankVaultOpen();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void OnDisable()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|