public void Close() { if (!_opened) { return; } _opened = false; AnimationAssistant.MoveX(transform, _xClosed); }
public void Open() { if (_opened) { return; } _opened = true; AnimationAssistant.MoveX(transform, _xOpened); }