예제 #1
0
        public void OpenBank()
        {
            mBankWindow?.Close();

            mBankWindow     = new BankWindow(GameCanvas);
            mShouldOpenBank = false;
            Globals.InBank  = true;
        }
예제 #2
0
        public void OpenBank()
        {
            if (mBankWindow != null)
            {
                mBankWindow.Close();
            }

            mBankWindow     = new BankWindow(GameCanvas);
            mShouldOpenBank = false;
            Globals.InBank  = true;
        }
예제 #3
0
 private void CloseBank()
 {
     mBankWindow?.Close();
     mBankWindow    = null;
     Globals.InBank = false;
 }