Пример #1
0
 private void HideUnitResult()
 {
     if (m_UnitResult != null)
     {
         m_UnitResult.Hide();
         m_UnitResult = null;
     }
     AndroidBackKeyManager.Instance.EnableBackKey();
     buttonUnlock();
 }
Пример #2
0
    private void ResetAll()
    {
        AndroidBackKeyManager.Instance.EnableBackKey();

        if (m_UnitResult != null)
        {
            m_UnitResult.Hide();
            m_UnitResult = null;
        }

        makeUnitList();
        PacketStructUnit unit = UserDataAdmin.Instance.SearchChara(MainMenuParam.m_BuildupBaseUnitUniqueId);

        if (CheckBaseUnit(unit) == false)
        {
            unsetBaseUnit();
        }

        m_Validate = false;
        m_UnitBGPanel.IsViewPanel     = false;
        m_UnitGrid.IsActiveSortButton = true;

        updateBuildupStatus();
    }