Example #1
0
    public UiId GetPrevUi(UiId _uiId)
    {
        UiId _prevUiId = UiId.CreateInvalid();

        for (int i = 0; i < _prevSections.Count; ++i)
        {
            if (_prevSections[i].uiId == _uiId)
            {
                continue;
            }

            _prevUiId.Set(_prevSections[i].uiId);
            break;
        }

        return(_prevUiId);
    }
Example #2
0
 public UiId GetCurrUiId()
 {
     return(_currUi == null?UiId.CreateInvalid() : _currUi.uiId);
 }