void OnDisable()
{
_instance = null;
EditorPrefs.SetInt("MagicalBox_DrawGizmos", (int)mGizmos);
EditorPrefs.SetInt("MagicalBox_DrawGizmosSelected", (int)mGizmosSelected);
EditorPrefs.SetBool("MagicalBox_AutoSelect", mAutoSelect);
EditorPrefs.SetFloat("MagicalBox_EditorUpdateInterval", mEditorUpdateInterval);
EditorPrefs.SetBool("MagicalBox_AutoToggleParams", mParametersAutoToggleSelected);
}