예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <summary>
 /// 读取配置
 /// </summary>
 private void LoadSettingsFromPlayerPrefs()
 {
     CompressOption = EditorTools.PlayerGetEnum <ECompressOption>(StrEditorCompressOption, ECompressOption.Uncompressed);
     IsForceRebuild = EditorTools.PlayerGetBool(StrEditorIsForceRebuild, false);
 }