• 大小: 81.54MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2022-09-13
  • 语言: 其他
  • 标签: Unity  

资源简介

正在进行的项目,部分字体等资源来自官网,大部分脚本等为自己编写,动态根据本地JSON文件加载UI,(这次更新)并根据json给出的地址动态加载AssetBundle资源

资源截图

代码片段和文件信息

using UnityEditor;
using System.IO;

public class CreateAssetBundles
{
[MenuItem(“Assets/Build AssetBundles“)]
static void BuildAllAssetBundles()
{
string assetBundleDirectory = “Assets/AssetBundles“;
if(!Directory.Exists(assetBundleDirectory))
{
Directory.CreateDirectory(assetBundleDirectory);
}
BuildPipeline.BuildAssetBundles(assetBundleDirectory BuildAssetBundleOptions.None BuildTarget.StandaloneWindows);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      10626  2019-02-18 19:50  New Unity Project\Assembly-CSharp-Editor.csproj

     文件       8473  2019-02-18 21:42  New Unity Project\Assembly-CSharp.csproj

    I.A....       987  2019-02-15 23:37  New Unity Project\Assets\AssetBundles\AssetBundles

     文件        140  2019-02-15 23:37  New Unity Project\Assets\AssetBundles\AssetBundles.manifest

    ..A..H.       200  2019-02-13 01:04  New Unity Project\Assets\AssetBundles\AssetBundles.manifest.meta

    ..A..H.       197  2019-02-13 01:04  New Unity Project\Assets\AssetBundles\AssetBundles.meta

    I.A....    963215  2019-02-15 23:37  New Unity Project\Assets\AssetBundles\chair\chair1

     文件        897  2019-02-15 23:37  New Unity Project\Assets\AssetBundles\chair\chair1.manifest

    ..A..H.       200  2019-02-13 01:04  New Unity Project\Assets\AssetBundles\chair\chair1.manifest.meta

    ..A..H.       197  2019-02-13 01:04  New Unity Project\Assets\AssetBundles\chair\chair1.meta

    ..A..H.       214  2019-02-13 01:04  New Unity Project\Assets\AssetBundles\chair.meta

    ..A..H.       214  2019-02-13 01:04  New Unity Project\Assets\AssetBundles.meta

     文件        452  2019-02-13 01:02  New Unity Project\Assets\Editor\CreateAssetBundles.cs

    ..A..H.       285  2019-02-13 01:02  New Unity Project\Assets\Editor\CreateAssetBundles.cs.meta

    ..A..H.       214  2019-02-13 01:01  New Unity Project\Assets\Editor.meta

     文件     126240  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Black.ttf

    ..A..H.      1081  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Black.ttf.meta

     文件      99236  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-BlackItalic.ttf

    ..A..H.      1153  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-BlackItalic.ttf.meta

     文件     121204  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Bold.ttf

    ..A..H.       937  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Bold.ttf.meta

     文件      96328  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-BoldItalic.ttf

    ..A..H.      1225  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-BoldItalic.ttf.meta

     文件     120952  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-ExtraBold.ttf

    ..A..H.       721  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-ExtraBold.ttf.meta

     文件      97248  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-ExtraBoldItalic.ttf

    ..A..H.      1009  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-ExtraBoldItalic.ttf.meta

     文件      95524  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Italic.ttf

    ..A..H.       505  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Italic.ttf.meta

     文件     117848  2016-11-22 10:34  New Unity Project\Assets\Fonts\Alegreya_Sans\AlegreyaSans-Light.ttf

............此处省略4095个文件信息

评论

共有 条评论