Пример #1
0
 public void Close()
 {
     if (!_opened)
     {
         return;
     }
     _opened = false;
     AnimationAssistant.MoveX(transform, _xClosed);
 }
Пример #2
0
 public void Open()
 {
     if (_opened)
     {
         return;
     }
     _opened = true;
     AnimationAssistant.MoveX(transform, _xOpened);
 }