using System.Collections.Generic; using System.IO; using UnityEngine; namespace ET { public static class LoadConfigHelper { public static void LoadAllConfigBytes(Dictionary output) { Dictionary keys = ResourcesComponent.Instance.GetBundleAll("config.unity3d"); foreach (var kv in keys) { TextAsset v = kv.Value as TextAsset; string key = kv.Key; output[key] = v.bytes; } } } }