コード例 #1
0
 protected virtual void back()
 {
     if (InputManager.getMenuBackDown(m_ReadInputFrom)) // check if "B" was hit
     {
         if (m_LastMenu != null)
         {
             m_Camera.changeMenu(m_LastMenu);
             m_IsActiveMenu = false;
             m_LastMenu.IsActiveMenu = true;
             m_LastMenu = null;
         }
     }
 }
コード例 #2
0
ファイル: MenuV2.cs プロジェクト: ZaikMD/ImagineNation
 protected virtual void back()
 {
     if (InputManager.getMenuBackDown(m_ReadInputFrom)) // check if "B" was hit
     {
         if (m_LastMenu != null)
         {
             m_Camera.changeMenu(m_LastMenu);
             m_IsActiveMenu = false;
             m_LastMenu.IsActiveMenu = true;
             m_LastMenu = null;
         }
     }
 }
コード例 #3
0
 public void changeMenu(MenuV2 newMenu)
 {
     ShowShutter         = true;
     m_NewMenu           = newMenu;
     m_IsDoneShutterMove = false;
 }