Merge pull request #13 from susices/main

修复资源包收集工具页面 切换EnableAddressable时 未及时刷新收集器UI的问题
pull/14/head
何冠峰 2022-06-20 10:21:20 +08:00 committed by GitHub
commit 746fa44ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ namespace YooAsset.Editor
_enableAddressableToogle.RegisterValueChangedCallback(evt => _enableAddressableToogle.RegisterValueChangedCallback(evt =>
{ {
AssetBundleCollectorSettingData.ModifyAddressable(evt.newValue); AssetBundleCollectorSettingData.ModifyAddressable(evt.newValue);
RefreshWindow();
}); });
_autoCollectShaderToogle = root.Q<Toggle>("AutoCollectShader"); _autoCollectShaderToogle = root.Q<Toggle>("AutoCollectShader");
_autoCollectShaderToogle.RegisterValueChangedCallback(evt => _autoCollectShaderToogle.RegisterValueChangedCallback(evt =>