private void OnDisable() { WindowPrefs.SavePosition(titleContent.text, position); }
public static void Init() { var window = GetWindow <TemplateCreatorWindow>("Class Creator"); WindowPrefs.SavePosition(window.titleContent.text, window.position); }