public void CacheShadersFromPackage(string cahced_package_name) { //IL_002d: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Expected O, but got Unknown //IL_00ac: Unknown result type (might be due to invalid IL or missing references) //IL_00b8: Unknown result type (might be due to invalid IL or missing references) //IL_00be: Unknown result type (might be due to invalid IL or missing references) PackageObject cachedPackage = GetCachedPackage(cahced_package_name); if (cachedPackage != null) { AssetBundle val = cachedPackage.obj as AssetBundle; if (val != null) { Shader[] array = val.LoadAllAssets <Shader>(); ShaderVariantCollection val2 = new ShaderVariantCollection(); int i = 0; for (int num = array.Length; i < num; i++) { if (!array[i].get_isSupported()) { Log.Error("no support shader : " + array[i].get_name()); } string name = array[i].get_name(); shaderCaches.Add(name, array[i]); if (name.StartsWith("EeL") || name.Contains("effect")) { ShaderVariant val3 = default(ShaderVariant); val3.shader = array[i]; val2.Add(val3); } } if (!val2.get_isWarmedUp()) { val2.WarmUp(); } } } }