protected override void OnPanelDisable() { rect = null; left = null; right = null; GameModes.Save(); }