/// <summary> /// 读取配置 /// </summary> private static void LoadSettingsFromPlayerPrefs(AssetBundleBuilder builder) { builder.CompressOption = EditorTools.PlayerGetEnum <AssetBundleBuilder.ECompressOption>(StrEditorCompressOption, AssetBundleBuilder.ECompressOption.Uncompressed); builder.IsForceRebuild = EditorTools.PlayerGetBool(StrEditorIsForceRebuild, false); builder.IsAppendHash = EditorTools.PlayerGetBool(StrEditorIsAppendHash, false); builder.IsDisableWriteTypeTree = EditorTools.PlayerGetBool(StrEditorIsDisableWriteTypeTree, false); builder.IsIgnoreTypeTreeChanges = EditorTools.PlayerGetBool(StrEditorIsIgnoreTypeTreeChanges, false); }
/// <summary> /// 读取配置 /// </summary> private void LoadSettingsFromPlayerPrefs() { CompressOption = EditorTools.PlayerGetEnum <ECompressOption>(StrEditorCompressOption, ECompressOption.Uncompressed); IsForceRebuild = EditorTools.PlayerGetBool(StrEditorIsForceRebuild, false); }