void OnDisable() { Asset.Save <DeployGatePreference>(preference); }
void OnEnable() { preference = Asset.Load <DeployGatePreference>(); DeployGateBuildWindow.Reset(); EditorUtility.UnloadUnusedAssets(); }