mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-21 07:50:20 +00:00
Compare commits
69 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
141086929f | ||
|
|
4f417e123b | ||
|
|
2204f4d129 | ||
|
|
f80a3229cc | ||
|
|
d94d196c83 | ||
|
|
9c67461dbc | ||
|
|
75910b7558 | ||
|
|
88b9afe189 | ||
|
|
6fa17e617a | ||
|
|
2c9360721a | ||
|
|
6851495da5 | ||
|
|
1b25835d1a | ||
|
|
e36918b6ec | ||
|
|
65468d5b15 | ||
|
|
78f81ea335 | ||
|
|
21f350a84e | ||
|
|
17fab5ad61 | ||
|
|
7f41ba9a3c | ||
|
|
1dc434832a | ||
|
|
045e74c82f | ||
|
|
c96fa23d61 | ||
|
|
7881f39b97 | ||
|
|
cf1a32ed1f | ||
|
|
d0b7ae020c | ||
|
|
e5c7bbdf52 | ||
|
|
42d52720f3 | ||
|
|
6d392139df | ||
|
|
852c741310 | ||
|
|
41761f0a97 | ||
|
|
2d5854ed58 | ||
|
|
1370ffb3bb | ||
|
|
6efc88423e | ||
|
|
6e2314eab5 | ||
|
|
d64b31f6ce | ||
|
|
d5a4b3365f | ||
|
|
86142ed4db | ||
|
|
2cb9278db0 | ||
|
|
92fad7f29b | ||
|
|
c782e8154b | ||
|
|
77c387bfe9 | ||
|
|
aea9099e34 | ||
|
|
6446b3ed40 | ||
|
|
8967e6f8c4 | ||
|
|
d6010a81e1 | ||
|
|
95e6921a4e | ||
|
|
df5f0b9c13 | ||
|
|
665a6afd74 | ||
|
|
f53c4300e8 | ||
|
|
1fdeeb781f | ||
|
|
e340af90ed | ||
|
|
7fa7cc4af1 | ||
|
|
ca3c011f34 | ||
|
|
669339d5b4 | ||
|
|
c6567650fe | ||
|
|
3ae70412fa | ||
|
|
d575850f9f | ||
|
|
d1439da54e | ||
|
|
89022d3df4 | ||
|
|
3c38fe6155 | ||
|
|
e68ece6925 | ||
|
|
ea9b8874cc | ||
|
|
475efd90fc | ||
|
|
682605d5c2 | ||
|
|
256844ddf5 | ||
|
|
96f95bbd99 | ||
|
|
4f7bb945e0 | ||
|
|
0d69d779f6 | ||
|
|
5df26908fb | ||
|
|
fb5e289de0 |
5
.gitignore
vendored
5
.gitignore
vendored
@@ -58,4 +58,7 @@ sysinfo.txt
|
|||||||
# Crashlytics generated file
|
# Crashlytics generated file
|
||||||
crashlytics-build.properties
|
crashlytics-build.properties
|
||||||
|
|
||||||
*.vsconfig
|
*.vsconfig
|
||||||
|
|
||||||
|
Sandbox/
|
||||||
|
Bundles/
|
||||||
@@ -2,6 +2,76 @@
|
|||||||
|
|
||||||
All notable changes to this package will be documented in this file.
|
All notable changes to this package will be documented in this file.
|
||||||
|
|
||||||
|
## [1.2.2] - 2022-07-31
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- 修复了加载多个相同的子场景而无法全部卸载的问题。
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- ShaderVariantCollecor支持在CI上调用运行。
|
||||||
|
|
||||||
|
- 资源补丁清单增加文件版本校验功能。
|
||||||
|
|
||||||
|
- AssetBundleBuilder现在构建结果可以查询构建失败信息。
|
||||||
|
|
||||||
|
- AssetBundleBuilder现在资源包文件名称样式提供选择功能。
|
||||||
|
|
||||||
|
````c#
|
||||||
|
class BuildParameters
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 补丁文件名称的样式
|
||||||
|
/// </summary>
|
||||||
|
public EOutputNameStyle OutputNameStyle;
|
||||||
|
}
|
||||||
|
````
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- 增加获取资源信息新方法。
|
||||||
|
|
||||||
|
````c#
|
||||||
|
/// <summary>
|
||||||
|
/// 获取资源信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="location">资源的定位地址</param>
|
||||||
|
public static AssetInfo GetAssetInfo(string location);
|
||||||
|
````
|
||||||
|
|
||||||
|
## [1.2.1] - 2022-07-23
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- (#25)修复了资源文件不存在返回的handle无法完成的问题。
|
||||||
|
- (#26)修复多个场景打进一个AB包时,卸载子场景时抛出异常。
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- 构建报告里增加主资源总数的统计。
|
||||||
|
- 资源构建系统里修改了内置构建管线的构建结果验证逻辑,移除了对中文路径的检测。
|
||||||
|
- 资源构建系统里移除了对增量更新初次无法构建的限制。
|
||||||
|
- 优化了缓存验证逻辑,不期望删除断点续传的资源文件。
|
||||||
|
- 资源构建系统里SBP构建参数增加了缓存服务器的地址和端口。
|
||||||
|
|
||||||
|
## [1.2.0] - 2022-07-18
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- 修复了ShaderVariantCollection刷新不及时问题。
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- 资源收集忽略了Gizmos资源文件。
|
||||||
|
- 解密服务接口增加解密文件信息参数。
|
||||||
|
- 资源收集窗体增加配置保存按钮。
|
||||||
|
- 资源构建窗体增加配置保存按钮。
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- 资源构建模块增加了可编程构建管线(SBP)的支持,开发者可以在内置构建管线和可编程构建管线之间自由选择,零修改成本。
|
||||||
|
|
||||||
## [1.1.1] - 2022-07-07
|
## [1.1.1] - 2022-07-07
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -13,40 +13,82 @@ namespace YooAsset.Editor
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 开始构建
|
/// 开始构建
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool Run(BuildParameters buildParameters)
|
public BuildResult Run(BuildParameters buildParameters)
|
||||||
{
|
{
|
||||||
// 清空旧数据
|
// 清空旧数据
|
||||||
_buildContext.ClearAllContext();
|
_buildContext.ClearAllContext();
|
||||||
|
|
||||||
|
// 检测构建参数是否为空
|
||||||
|
if (buildParameters == null)
|
||||||
|
{
|
||||||
|
throw new Exception($"{nameof(buildParameters)} is null !");
|
||||||
|
}
|
||||||
|
if (buildParameters.BuildPipeline == EBuildPipeline.ScriptableBuildPipeline)
|
||||||
|
{
|
||||||
|
if (buildParameters.SBPParameters == null)
|
||||||
|
throw new Exception($"{nameof(BuildParameters.SBPParameters)} is null !");
|
||||||
|
}
|
||||||
|
|
||||||
// 构建参数
|
// 构建参数
|
||||||
var buildParametersContext = new BuildParametersContext(buildParameters);
|
var buildParametersContext = new BuildParametersContext(buildParameters);
|
||||||
_buildContext.SetContextObject(buildParametersContext);
|
_buildContext.SetContextObject(buildParametersContext);
|
||||||
|
|
||||||
// 执行构建流程
|
// 是否显示LOG
|
||||||
List<IBuildTask> pipeline = new List<IBuildTask>
|
|
||||||
{
|
|
||||||
new TaskPrepare(), //前期准备工作
|
|
||||||
new TaskGetBuildMap(), //获取构建列表
|
|
||||||
new TaskBuilding(), //开始执行构建
|
|
||||||
new TaskVerifyBuildResult(), //验证构建结果
|
|
||||||
new TaskEncryption(), //加密资源文件
|
|
||||||
new TaskCreatePatchManifest(), //创建清单文件
|
|
||||||
new TaskCreateReport(), //创建报告文件
|
|
||||||
new TaskCreatePatchPackage(), //制作补丁包
|
|
||||||
new TaskCopyBuildinFiles(), //拷贝内置文件
|
|
||||||
};
|
|
||||||
|
|
||||||
if (buildParameters.BuildMode == EBuildMode.SimulateBuild)
|
if (buildParameters.BuildMode == EBuildMode.SimulateBuild)
|
||||||
BuildRunner.EnableLog = false;
|
BuildRunner.EnableLog = false;
|
||||||
else
|
else
|
||||||
BuildRunner.EnableLog = true;
|
BuildRunner.EnableLog = true;
|
||||||
|
|
||||||
bool succeed = BuildRunner.Run(pipeline, _buildContext);
|
// 创建构建节点
|
||||||
if (succeed)
|
List<IBuildTask> pipeline;
|
||||||
Debug.Log($"{buildParameters.BuildMode} pipeline build succeed !");
|
if (buildParameters.BuildPipeline == EBuildPipeline.BuiltinBuildPipeline)
|
||||||
|
{
|
||||||
|
pipeline = new List<IBuildTask>
|
||||||
|
{
|
||||||
|
new TaskPrepare(), //前期准备工作
|
||||||
|
new TaskGetBuildMap(), //获取构建列表
|
||||||
|
new TaskBuilding(), //开始执行构建
|
||||||
|
new TaskVerifyBuildResult(), //验证构建结果
|
||||||
|
new TaskEncryption(), //加密资源文件
|
||||||
|
new TaskCreatePatchManifest(), //创建清单文件
|
||||||
|
new TaskCreateReport(), //创建报告文件
|
||||||
|
new TaskCreatePatchPackage(), //制作补丁包
|
||||||
|
new TaskCopyBuildinFiles(), //拷贝内置文件
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else if (buildParameters.BuildPipeline == EBuildPipeline.ScriptableBuildPipeline)
|
||||||
|
{
|
||||||
|
pipeline = new List<IBuildTask>
|
||||||
|
{
|
||||||
|
new TaskPrepare(), //前期准备工作
|
||||||
|
new TaskGetBuildMap(), //获取构建列表
|
||||||
|
new TaskBuilding_SBP(), //开始执行构建
|
||||||
|
new TaskVerifyBuildResult_SBP(), //验证构建结果
|
||||||
|
new TaskEncryption(), //加密资源文件
|
||||||
|
new TaskCreatePatchManifest(), //创建清单文件
|
||||||
|
new TaskCreateReport(), //创建报告文件
|
||||||
|
new TaskCreatePatchPackage(), //制作补丁包
|
||||||
|
new TaskCopyBuildinFiles(), //拷贝内置文件
|
||||||
|
};
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 执行构建流程
|
||||||
|
var buildResult = BuildRunner.Run(pipeline, _buildContext);
|
||||||
|
if (buildResult.Success)
|
||||||
|
{
|
||||||
|
Debug.Log($"{buildParameters.BuildMode} pipeline build succeed !");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
Debug.LogWarning($"{buildParameters.BuildMode} pipeline build failed !");
|
Debug.LogWarning($"{buildParameters.BuildMode} pipeline build failed !");
|
||||||
return succeed;
|
Debug.LogError($"Build task failed : {buildResult.FailedTask}");
|
||||||
|
Debug.LogError($"Build task error : {buildResult.FailedInfo}");
|
||||||
|
}
|
||||||
|
return buildResult;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -30,7 +30,7 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget)
|
public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget)
|
||||||
{
|
{
|
||||||
return $"{outputRoot}/{buildTarget}/{YooAssetSettingsData.Setting.UnityManifestFileName}";
|
return $"{outputRoot}/{buildTarget}/{YooAssetSettings.OutputFolderName}";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public int BuildVersion = 0;
|
public int BuildVersion = 0;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构建管线
|
||||||
|
/// </summary>
|
||||||
|
public EBuildPipeline BuildPipeline = EBuildPipeline.BuiltinBuildPipeline;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建模式
|
/// 构建模式
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -25,14 +30,14 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public ECompressOption CompressOption = ECompressOption.LZ4;
|
public ECompressOption CompressOption = ECompressOption.LZ4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出文件名称样式
|
||||||
|
/// </summary>
|
||||||
|
public EOutputNameStyle OutputNameStyle = EOutputNameStyle.HashName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 加密类名称
|
/// 加密类名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string EncyptionClassName = string.Empty;
|
public string EncyptionClassName = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 附加后缀格式
|
|
||||||
/// </summary>
|
|
||||||
public bool AppendExtension = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -19,6 +19,11 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置数据是否被修改
|
||||||
|
/// </summary>
|
||||||
|
public static bool IsDirty { set; get; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 加载配置文件
|
/// 加载配置文件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -34,6 +39,7 @@ namespace YooAsset.Editor
|
|||||||
{
|
{
|
||||||
if (Setting != null)
|
if (Setting != null)
|
||||||
{
|
{
|
||||||
|
IsDirty = false;
|
||||||
EditorUtility.SetDirty(Setting);
|
EditorUtility.SetDirty(Setting);
|
||||||
AssetDatabase.SaveAssets();
|
AssetDatabase.SaveAssets();
|
||||||
Debug.Log($"{nameof(AssetBundleBuilderSetting)}.asset is saved!");
|
Debug.Log($"{nameof(AssetBundleBuilderSetting)}.asset is saved!");
|
||||||
|
|||||||
@@ -22,13 +22,15 @@ namespace YooAsset.Editor
|
|||||||
private List<Type> _encryptionServicesClassTypes;
|
private List<Type> _encryptionServicesClassTypes;
|
||||||
private List<string> _encryptionServicesClassNames;
|
private List<string> _encryptionServicesClassNames;
|
||||||
|
|
||||||
|
private Button _saveButton;
|
||||||
private TextField _buildOutputField;
|
private TextField _buildOutputField;
|
||||||
private IntegerField _buildVersionField;
|
private IntegerField _buildVersionField;
|
||||||
|
private EnumField _buildPipelineField;
|
||||||
private EnumField _buildModeField;
|
private EnumField _buildModeField;
|
||||||
private TextField _buildinTagsField;
|
private TextField _buildinTagsField;
|
||||||
private PopupField<string> _encryptionField;
|
private PopupField<string> _encryptionField;
|
||||||
private EnumField _compressionField;
|
private EnumField _compressionField;
|
||||||
private Toggle _appendExtensionToggle;
|
private EnumField _outputNameStyleField;
|
||||||
|
|
||||||
public void CreateGUI()
|
public void CreateGUI()
|
||||||
{
|
{
|
||||||
@@ -43,7 +45,14 @@ namespace YooAsset.Editor
|
|||||||
|
|
||||||
visualAsset.CloneTree(root);
|
visualAsset.CloneTree(root);
|
||||||
|
|
||||||
|
// 配置保存按钮
|
||||||
|
_saveButton = root.Q<Button>("SaveButton");
|
||||||
|
_saveButton.clicked += SaveBtn_clicked;
|
||||||
|
|
||||||
|
// 构建平台
|
||||||
_buildTarget = EditorUserBuildSettings.activeBuildTarget;
|
_buildTarget = EditorUserBuildSettings.activeBuildTarget;
|
||||||
|
|
||||||
|
// 加密服务类
|
||||||
_encryptionServicesClassTypes = GetEncryptionServicesClassTypes();
|
_encryptionServicesClassTypes = GetEncryptionServicesClassTypes();
|
||||||
_encryptionServicesClassNames = _encryptionServicesClassTypes.Select(t => t.FullName).ToList();
|
_encryptionServicesClassNames = _encryptionServicesClassTypes.Select(t => t.FullName).ToList();
|
||||||
|
|
||||||
@@ -59,16 +68,30 @@ namespace YooAsset.Editor
|
|||||||
_buildVersionField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildVersion);
|
_buildVersionField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildVersion);
|
||||||
_buildVersionField.RegisterValueChangedCallback(evt =>
|
_buildVersionField.RegisterValueChangedCallback(evt =>
|
||||||
{
|
{
|
||||||
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
AssetBundleBuilderSettingData.Setting.BuildVersion = _buildVersionField.value;
|
AssetBundleBuilderSettingData.Setting.BuildVersion = _buildVersionField.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// 构建管线
|
||||||
|
_buildPipelineField = root.Q<EnumField>("BuildPipeline");
|
||||||
|
_buildPipelineField.Init(AssetBundleBuilderSettingData.Setting.BuildPipeline);
|
||||||
|
_buildPipelineField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildPipeline);
|
||||||
|
_buildPipelineField.style.width = 350;
|
||||||
|
_buildPipelineField.RegisterValueChangedCallback(evt =>
|
||||||
|
{
|
||||||
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
|
AssetBundleBuilderSettingData.Setting.BuildPipeline = (EBuildPipeline)_buildPipelineField.value;
|
||||||
|
RefreshWindow();
|
||||||
|
});
|
||||||
|
|
||||||
// 构建模式
|
// 构建模式
|
||||||
_buildModeField = root.Q<EnumField>("BuildMode");
|
_buildModeField = root.Q<EnumField>("BuildMode");
|
||||||
_buildModeField.Init(AssetBundleBuilderSettingData.Setting.BuildMode);
|
_buildModeField.Init(AssetBundleBuilderSettingData.Setting.BuildMode);
|
||||||
_buildModeField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildMode);
|
_buildModeField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildMode);
|
||||||
_buildModeField.style.width = 300;
|
_buildModeField.style.width = 350;
|
||||||
_buildModeField.RegisterValueChangedCallback(evt =>
|
_buildModeField.RegisterValueChangedCallback(evt =>
|
||||||
{
|
{
|
||||||
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
AssetBundleBuilderSettingData.Setting.BuildMode = (EBuildMode)_buildModeField.value;
|
AssetBundleBuilderSettingData.Setting.BuildMode = (EBuildMode)_buildModeField.value;
|
||||||
RefreshWindow();
|
RefreshWindow();
|
||||||
});
|
});
|
||||||
@@ -78,6 +101,7 @@ namespace YooAsset.Editor
|
|||||||
_buildinTagsField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildTags);
|
_buildinTagsField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.BuildTags);
|
||||||
_buildinTagsField.RegisterValueChangedCallback(evt =>
|
_buildinTagsField.RegisterValueChangedCallback(evt =>
|
||||||
{
|
{
|
||||||
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
AssetBundleBuilderSettingData.Setting.BuildTags = _buildinTagsField.value;
|
AssetBundleBuilderSettingData.Setting.BuildTags = _buildinTagsField.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -88,9 +112,10 @@ namespace YooAsset.Editor
|
|||||||
int defaultIndex = GetEncryptionDefaultIndex(AssetBundleBuilderSettingData.Setting.EncyptionClassName);
|
int defaultIndex = GetEncryptionDefaultIndex(AssetBundleBuilderSettingData.Setting.EncyptionClassName);
|
||||||
_encryptionField = new PopupField<string>(_encryptionServicesClassNames, defaultIndex);
|
_encryptionField = new PopupField<string>(_encryptionServicesClassNames, defaultIndex);
|
||||||
_encryptionField.label = "Encryption";
|
_encryptionField.label = "Encryption";
|
||||||
_encryptionField.style.width = 300;
|
_encryptionField.style.width = 350;
|
||||||
_encryptionField.RegisterValueChangedCallback(evt =>
|
_encryptionField.RegisterValueChangedCallback(evt =>
|
||||||
{
|
{
|
||||||
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
AssetBundleBuilderSettingData.Setting.EncyptionClassName = _encryptionField.value;
|
AssetBundleBuilderSettingData.Setting.EncyptionClassName = _encryptionField.value;
|
||||||
});
|
});
|
||||||
encryptionContainer.Add(_encryptionField);
|
encryptionContainer.Add(_encryptionField);
|
||||||
@@ -99,7 +124,7 @@ namespace YooAsset.Editor
|
|||||||
{
|
{
|
||||||
_encryptionField = new PopupField<string>();
|
_encryptionField = new PopupField<string>();
|
||||||
_encryptionField.label = "Encryption";
|
_encryptionField.label = "Encryption";
|
||||||
_encryptionField.style.width = 300;
|
_encryptionField.style.width = 350;
|
||||||
encryptionContainer.Add(_encryptionField);
|
encryptionContainer.Add(_encryptionField);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -107,18 +132,22 @@ namespace YooAsset.Editor
|
|||||||
_compressionField = root.Q<EnumField>("Compression");
|
_compressionField = root.Q<EnumField>("Compression");
|
||||||
_compressionField.Init(AssetBundleBuilderSettingData.Setting.CompressOption);
|
_compressionField.Init(AssetBundleBuilderSettingData.Setting.CompressOption);
|
||||||
_compressionField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.CompressOption);
|
_compressionField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.CompressOption);
|
||||||
_compressionField.style.width = 300;
|
_compressionField.style.width = 350;
|
||||||
_compressionField.RegisterValueChangedCallback(evt =>
|
_compressionField.RegisterValueChangedCallback(evt =>
|
||||||
{
|
{
|
||||||
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
AssetBundleBuilderSettingData.Setting.CompressOption = (ECompressOption)_compressionField.value;
|
AssetBundleBuilderSettingData.Setting.CompressOption = (ECompressOption)_compressionField.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
// 附加后缀格式
|
// 输出文件名称样式
|
||||||
_appendExtensionToggle = root.Q<Toggle>("AppendExtension");
|
_outputNameStyleField = root.Q<EnumField>("OutputNameStyle");
|
||||||
_appendExtensionToggle.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.AppendExtension);
|
_outputNameStyleField.Init(AssetBundleBuilderSettingData.Setting.OutputNameStyle);
|
||||||
_appendExtensionToggle.RegisterValueChangedCallback(evt =>
|
_outputNameStyleField.SetValueWithoutNotify(AssetBundleBuilderSettingData.Setting.OutputNameStyle);
|
||||||
|
_outputNameStyleField.style.width = 350;
|
||||||
|
_outputNameStyleField.RegisterValueChangedCallback(evt =>
|
||||||
{
|
{
|
||||||
AssetBundleBuilderSettingData.Setting.AppendExtension = _appendExtensionToggle.value;
|
AssetBundleBuilderSettingData.IsDirty = true;
|
||||||
|
AssetBundleBuilderSettingData.Setting.OutputNameStyle = (EOutputNameStyle)_outputNameStyleField.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
// 构建按钮
|
// 构建按钮
|
||||||
@@ -134,7 +163,24 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
public void OnDestroy()
|
public void OnDestroy()
|
||||||
{
|
{
|
||||||
AssetBundleBuilderSettingData.SaveFile();
|
if(AssetBundleBuilderSettingData.IsDirty)
|
||||||
|
AssetBundleBuilderSettingData.SaveFile();
|
||||||
|
}
|
||||||
|
public void Update()
|
||||||
|
{
|
||||||
|
if(_saveButton != null)
|
||||||
|
{
|
||||||
|
if(AssetBundleBuilderSettingData.IsDirty)
|
||||||
|
{
|
||||||
|
if (_saveButton.enabledSelf == false)
|
||||||
|
_saveButton.SetEnabled(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if(_saveButton.enabledSelf)
|
||||||
|
_saveButton.SetEnabled(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RefreshWindow()
|
private void RefreshWindow()
|
||||||
@@ -144,7 +190,11 @@ namespace YooAsset.Editor
|
|||||||
_buildinTagsField.SetEnabled(enableElement);
|
_buildinTagsField.SetEnabled(enableElement);
|
||||||
_encryptionField.SetEnabled(enableElement);
|
_encryptionField.SetEnabled(enableElement);
|
||||||
_compressionField.SetEnabled(enableElement);
|
_compressionField.SetEnabled(enableElement);
|
||||||
_appendExtensionToggle.SetEnabled(enableElement);
|
_outputNameStyleField.SetEnabled(enableElement);
|
||||||
|
}
|
||||||
|
private void SaveBtn_clicked()
|
||||||
|
{
|
||||||
|
AssetBundleBuilderSettingData.SaveFile();
|
||||||
}
|
}
|
||||||
private void BuildButton_clicked()
|
private void BuildButton_clicked()
|
||||||
{
|
{
|
||||||
@@ -165,25 +215,30 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void ExecuteBuild()
|
private void ExecuteBuild()
|
||||||
{
|
{
|
||||||
var buildMode = (EBuildMode)_buildModeField.value;
|
|
||||||
|
|
||||||
string defaultOutputRoot = AssetBundleBuilderHelper.GetDefaultOutputRoot();
|
string defaultOutputRoot = AssetBundleBuilderHelper.GetDefaultOutputRoot();
|
||||||
BuildParameters buildParameters = new BuildParameters();
|
BuildParameters buildParameters = new BuildParameters();
|
||||||
buildParameters.OutputRoot = defaultOutputRoot;
|
buildParameters.OutputRoot = defaultOutputRoot;
|
||||||
buildParameters.BuildTarget = _buildTarget;
|
buildParameters.BuildTarget = _buildTarget;
|
||||||
buildParameters.BuildMode = buildMode;
|
buildParameters.BuildPipeline = AssetBundleBuilderSettingData.Setting.BuildPipeline;
|
||||||
buildParameters.BuildVersion = _buildVersionField.value;
|
buildParameters.BuildMode = AssetBundleBuilderSettingData.Setting.BuildMode;
|
||||||
buildParameters.BuildinTags = _buildinTagsField.value;
|
buildParameters.BuildVersion = AssetBundleBuilderSettingData.Setting.BuildVersion;
|
||||||
|
buildParameters.BuildinTags = AssetBundleBuilderSettingData.Setting.BuildTags;
|
||||||
buildParameters.VerifyBuildingResult = true;
|
buildParameters.VerifyBuildingResult = true;
|
||||||
buildParameters.EnableAddressable = AssetBundleCollectorSettingData.Setting.EnableAddressable;
|
buildParameters.EnableAddressable = AssetBundleCollectorSettingData.Setting.EnableAddressable;
|
||||||
buildParameters.AppendFileExtension = _appendExtensionToggle.value;
|
buildParameters.CopyBuildinTagFiles = AssetBundleBuilderSettingData.Setting.BuildMode == EBuildMode.ForceRebuild;
|
||||||
buildParameters.CopyBuildinTagFiles = buildMode == EBuildMode.ForceRebuild;
|
|
||||||
buildParameters.EncryptionServices = CreateEncryptionServicesInstance();
|
buildParameters.EncryptionServices = CreateEncryptionServicesInstance();
|
||||||
buildParameters.CompressOption = (ECompressOption)_compressionField.value;
|
buildParameters.CompressOption = AssetBundleBuilderSettingData.Setting.CompressOption;
|
||||||
|
buildParameters.OutputNameStyle = AssetBundleBuilderSettingData.Setting.OutputNameStyle;
|
||||||
|
|
||||||
AssetBundleBuilder builder = new AssetBundleBuilder();
|
if (AssetBundleBuilderSettingData.Setting.BuildPipeline == EBuildPipeline.ScriptableBuildPipeline)
|
||||||
bool succeed = builder.Run(buildParameters);
|
{
|
||||||
if (succeed)
|
buildParameters.SBPParameters = new BuildParameters.SBPBuildParameters();
|
||||||
|
buildParameters.SBPParameters.WriteLinkXML = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
var builder = new AssetBundleBuilder();
|
||||||
|
var buildResult = builder.Run(buildParameters);
|
||||||
|
if (buildResult.Success)
|
||||||
{
|
{
|
||||||
EditorUtility.RevealInFinder($"{buildParameters.OutputRoot}/{buildParameters.BuildTarget}/{buildParameters.BuildVersion}");
|
EditorUtility.RevealInFinder($"{buildParameters.OutputRoot}/{buildParameters.BuildTarget}/{buildParameters.BuildVersion}");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||||
<uie:Toolbar name="Toolbar" style="display: flex;" />
|
<uie:Toolbar name="Toolbar" style="display: flex; flex-direction: row-reverse;">
|
||||||
|
<ui:Button text="Save" display-tooltip-when-elided="true" name="SaveButton" style="background-color: rgb(56, 147, 58);" />
|
||||||
|
</uie:Toolbar>
|
||||||
<ui:VisualElement name="BuildContainer">
|
<ui:VisualElement name="BuildContainer">
|
||||||
<ui:TextField picking-mode="Ignore" label="Build Output" name="BuildOutput" />
|
<ui:TextField picking-mode="Ignore" label="Build Output" name="BuildOutput" />
|
||||||
<uie:IntegerField label="Build Version" value="0" name="BuildVersion" />
|
<uie:IntegerField label="Build Version" value="0" name="BuildVersion" />
|
||||||
|
<uie:EnumField label="Build Pipeline" name="BuildPipeline" />
|
||||||
<uie:EnumField label="Build Mode" name="BuildMode" />
|
<uie:EnumField label="Build Mode" name="BuildMode" />
|
||||||
<ui:VisualElement name="EncryptionContainer" style="height: 24px;" />
|
<ui:VisualElement name="EncryptionContainer" style="height: 24px;" />
|
||||||
<uie:EnumField label="Compression" value="Center" name="Compression" />
|
<uie:EnumField label="Compression" value="Center" name="Compression" />
|
||||||
<ui:Toggle label="Append Extension" name="AppendExtension" style="height: 15px;" />
|
<uie:EnumField label="Output Name Style" value="Center" name="OutputNameStyle" />
|
||||||
<ui:TextField picking-mode="Ignore" label="Buildin Tags" name="BuildinTags" />
|
<ui:TextField picking-mode="Ignore" label="Buildin Tags" name="BuildinTags" />
|
||||||
<ui:Button text="构建" display-tooltip-when-elided="true" name="Build" style="height: 50px; background-color: rgb(40, 106, 42); margin-top: 10px;" />
|
<ui:Button text="构建" display-tooltip-when-elided="true" name="Build" style="height: 50px; background-color: rgb(40, 106, 42); margin-top: 10px;" />
|
||||||
</ui:VisualElement>
|
</ui:VisualElement>
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ namespace YooAsset.Editor
|
|||||||
buildParameters.EnableAddressable = AssetBundleCollectorSettingData.Setting.EnableAddressable;
|
buildParameters.EnableAddressable = AssetBundleCollectorSettingData.Setting.EnableAddressable;
|
||||||
|
|
||||||
AssetBundleBuilder builder = new AssetBundleBuilder();
|
AssetBundleBuilder builder = new AssetBundleBuilder();
|
||||||
bool buildResult = builder.Run(buildParameters);
|
var buildResult = builder.Run(buildParameters);
|
||||||
if (buildResult)
|
if (buildResult.Success)
|
||||||
{
|
{
|
||||||
string pipelineOutputDirectory = AssetBundleBuilderHelper.MakePipelineOutputDirectory(buildParameters.OutputRoot, buildParameters.BuildTarget);
|
string pipelineOutputDirectory = AssetBundleBuilderHelper.MakePipelineOutputDirectory(buildParameters.OutputRoot, buildParameters.BuildTarget);
|
||||||
_manifestFilePath = $"{pipelineOutputDirectory}_{EBuildMode.SimulateBuild}/{YooAssetSettingsData.GetPatchManifestFileName(buildParameters.BuildVersion)}";
|
_manifestFilePath = $"{pipelineOutputDirectory}_{EBuildMode.SimulateBuild}/{YooAssetSettingsData.GetPatchManifestFileName(buildParameters.BuildVersion)}";
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 添加资源包的分类标签
|
/// 添加资源包的分类标签
|
||||||
/// 说明:传染算法统计到的分类标签
|
/// 说明:传染算法统计到的分类标签
|
||||||
|
|||||||
@@ -9,6 +9,33 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class BuildParameters
|
public class BuildParameters
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// SBP构建参数
|
||||||
|
/// </summary>
|
||||||
|
public class SBPBuildParameters
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 生成代码防裁剪配置
|
||||||
|
/// </summary>
|
||||||
|
public bool WriteLinkXML = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 缓存服务器地址
|
||||||
|
/// </summary>
|
||||||
|
public string CacheServerHost;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 缓存服务器端口
|
||||||
|
/// </summary>
|
||||||
|
public int CacheServerPort;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 可编程构建管线的参数
|
||||||
|
/// </summary>
|
||||||
|
public SBPBuildParameters SBPParameters;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 输出的根目录
|
/// 输出的根目录
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -19,6 +46,11 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public BuildTarget BuildTarget;
|
public BuildTarget BuildTarget;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构建管线
|
||||||
|
/// </summary>
|
||||||
|
public EBuildPipeline BuildPipeline;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建模式
|
/// 构建模式
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -45,12 +77,7 @@ namespace YooAsset.Editor
|
|||||||
/// 启用可寻址资源定位
|
/// 启用可寻址资源定位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool EnableAddressable = false;
|
public bool EnableAddressable = false;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 追加文件扩展名
|
|
||||||
/// </summary>
|
|
||||||
public bool AppendFileExtension = false;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 拷贝内置资源文件到StreamingAssets目录(首包资源文件)
|
/// 拷贝内置资源文件到StreamingAssets目录(首包资源文件)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -62,6 +89,11 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public IEncryptionServices EncryptionServices = null;
|
public IEncryptionServices EncryptionServices = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 补丁文件名称的样式
|
||||||
|
/// </summary>
|
||||||
|
public EOutputNameStyle OutputNameStyle = EOutputNameStyle.HashName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 压缩选项
|
/// 压缩选项
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -86,4 +118,6 @@ namespace YooAsset.Editor
|
|||||||
return StringUtility.StringToStringList(BuildinTags, ';');
|
return StringUtility.StringToStringList(BuildinTags, ';');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -40,19 +40,19 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取构建选项
|
/// 获取内置构建管线的构建选项
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public BuildAssetBundleOptions GetPipelineBuildOptions()
|
public BuildAssetBundleOptions GetPipelineBuildOptions()
|
||||||
{
|
{
|
||||||
// For the new build system, unity always need BuildAssetBundleOptions.CollectDependencies and BuildAssetBundleOptions.DeterministicAssetBundle
|
// For the new build system, unity always need BuildAssetBundleOptions.CollectDependencies and BuildAssetBundleOptions.DeterministicAssetBundle
|
||||||
// 除非设置ForceRebuildAssetBundle标记,否则会进行增量打包
|
// 除非设置ForceRebuildAssetBundle标记,否则会进行增量打包
|
||||||
|
|
||||||
BuildAssetBundleOptions opt = BuildAssetBundleOptions.None;
|
|
||||||
opt |= BuildAssetBundleOptions.StrictMode; //Do not allow the build to succeed if any errors are reporting during it.
|
|
||||||
|
|
||||||
if (Parameters.BuildMode == EBuildMode.SimulateBuild)
|
if (Parameters.BuildMode == EBuildMode.SimulateBuild)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
|
BuildAssetBundleOptions opt = BuildAssetBundleOptions.None;
|
||||||
|
opt |= BuildAssetBundleOptions.StrictMode; //Do not allow the build to succeed if any errors are reporting during it.
|
||||||
|
|
||||||
if (Parameters.BuildMode == EBuildMode.DryRunBuild)
|
if (Parameters.BuildMode == EBuildMode.DryRunBuild)
|
||||||
{
|
{
|
||||||
opt |= BuildAssetBundleOptions.DryRunBuild;
|
opt |= BuildAssetBundleOptions.DryRunBuild;
|
||||||
@@ -77,6 +77,47 @@ namespace YooAsset.Editor
|
|||||||
return opt;
|
return opt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取可编程构建管线的构建参数
|
||||||
|
/// </summary>
|
||||||
|
public UnityEditor.Build.Pipeline.BundleBuildParameters GetSBPBuildParameters()
|
||||||
|
{
|
||||||
|
if (Parameters.BuildMode == EBuildMode.SimulateBuild)
|
||||||
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
|
if (Parameters.BuildMode == EBuildMode.DryRunBuild)
|
||||||
|
throw new Exception($"SBP not support {nameof(EBuildMode.DryRunBuild)} build mode !");
|
||||||
|
|
||||||
|
var targetGroup = BuildPipeline.GetBuildTargetGroup(Parameters.BuildTarget);
|
||||||
|
var buildParams = new UnityEditor.Build.Pipeline.BundleBuildParameters(Parameters.BuildTarget, targetGroup, PipelineOutputDirectory);
|
||||||
|
|
||||||
|
if (Parameters.CompressOption == ECompressOption.Uncompressed)
|
||||||
|
buildParams.BundleCompression = UnityEngine.BuildCompression.Uncompressed;
|
||||||
|
else if (Parameters.CompressOption == ECompressOption.LZMA)
|
||||||
|
buildParams.BundleCompression = UnityEngine.BuildCompression.LZMA;
|
||||||
|
else if (Parameters.CompressOption == ECompressOption.LZ4)
|
||||||
|
buildParams.BundleCompression = UnityEngine.BuildCompression.LZ4;
|
||||||
|
else
|
||||||
|
throw new System.NotImplementedException(Parameters.CompressOption.ToString());
|
||||||
|
|
||||||
|
if (Parameters.DisableWriteTypeTree)
|
||||||
|
buildParams.ContentBuildFlags |= UnityEditor.Build.Content.ContentBuildFlags.DisableWriteTypeTree;
|
||||||
|
|
||||||
|
if(Parameters.BuildMode == EBuildMode.ForceRebuild)
|
||||||
|
{
|
||||||
|
buildParams.UseCache = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
buildParams.UseCache = true;
|
||||||
|
buildParams.CacheServerHost = Parameters.SBPParameters.CacheServerHost;
|
||||||
|
buildParams.CacheServerPort = Parameters.SBPParameters.CacheServerPort;
|
||||||
|
}
|
||||||
|
buildParams.WriteLinkXML = Parameters.SBPParameters.WriteLinkXML;
|
||||||
|
|
||||||
|
return buildParams;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取构建的耗时(单位:秒)
|
/// 获取构建的耗时(单位:秒)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -28,6 +28,11 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string BundleName;
|
public string BundleName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件名称
|
||||||
|
/// </summary>
|
||||||
|
public string FileName;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 哈希值
|
/// 哈希值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ namespace YooAsset.Editor
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class ReportSummary
|
public class ReportSummary
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// YooAsset版本
|
||||||
|
/// </summary>
|
||||||
|
public string YooVersion;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 引擎版本
|
/// 引擎版本
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -16,7 +21,7 @@ namespace YooAsset.Editor
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建时间
|
/// 构建时间
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string BuildTime;
|
public string BuildDate;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建耗时(单位:秒)
|
/// 构建耗时(单位:秒)
|
||||||
@@ -28,6 +33,11 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public BuildTarget BuildTarget;
|
public BuildTarget BuildTarget;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构建管线
|
||||||
|
/// </summary>
|
||||||
|
public EBuildPipeline BuildPipeline;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建模式
|
/// 构建模式
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -48,11 +58,6 @@ namespace YooAsset.Editor
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool EnableAddressable;
|
public bool EnableAddressable;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 追加文件扩展名
|
|
||||||
/// </summary>
|
|
||||||
public bool AppendFileExtension;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 拷贝内置资源文件
|
/// 拷贝内置资源文件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -74,12 +79,14 @@ namespace YooAsset.Editor
|
|||||||
public string EncryptionServicesClassName;
|
public string EncryptionServicesClassName;
|
||||||
|
|
||||||
// 构建参数
|
// 构建参数
|
||||||
|
public EOutputNameStyle OutputNameStyle;
|
||||||
public ECompressOption CompressOption;
|
public ECompressOption CompressOption;
|
||||||
public bool DisableWriteTypeTree;
|
public bool DisableWriteTypeTree;
|
||||||
public bool IgnoreTypeTreeChanges;
|
public bool IgnoreTypeTreeChanges;
|
||||||
|
|
||||||
// 构建结果
|
// 构建结果
|
||||||
public int AssetFileTotalCount;
|
public int AssetFileTotalCount;
|
||||||
|
public int MainAssetTotalCount;
|
||||||
public int AllBundleTotalCount;
|
public int AllBundleTotalCount;
|
||||||
public long AllBundleTotalSize;
|
public long AllBundleTotalSize;
|
||||||
public int BuildinBundleTotalCount;
|
public int BuildinBundleTotalCount;
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
namespace YooAsset.Editor
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 构建结果
|
||||||
|
/// </summary>
|
||||||
|
public class BuildResult
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 构建是否成功
|
||||||
|
/// </summary>
|
||||||
|
public bool Success;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构建失败的任务
|
||||||
|
/// </summary>
|
||||||
|
public string FailedTask;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构建失败的信息
|
||||||
|
/// </summary>
|
||||||
|
public string FailedInfo;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e0855c4b5eaa26942bd7ad177fe3c288
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -14,34 +14,35 @@ namespace YooAsset.Editor
|
|||||||
/// 执行构建流程
|
/// 执行构建流程
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>如果成功返回TRUE,否则返回FALSE</returns>
|
/// <returns>如果成功返回TRUE,否则返回FALSE</returns>
|
||||||
public static bool Run(List<IBuildTask> pipeline, BuildContext context)
|
public static BuildResult Run(List<IBuildTask> pipeline, BuildContext context)
|
||||||
{
|
{
|
||||||
if (pipeline == null)
|
if (pipeline == null)
|
||||||
throw new ArgumentNullException("pipeline");
|
throw new ArgumentNullException("pipeline");
|
||||||
if (context == null)
|
if (context == null)
|
||||||
throw new ArgumentNullException("context");
|
throw new ArgumentNullException("context");
|
||||||
|
|
||||||
bool succeed = true;
|
BuildResult buildResult = new BuildResult();
|
||||||
|
buildResult.Success = true;
|
||||||
for (int i = 0; i < pipeline.Count; i++)
|
for (int i = 0; i < pipeline.Count; i++)
|
||||||
{
|
{
|
||||||
IBuildTask task = pipeline[i];
|
IBuildTask task = pipeline[i];
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var taskAttribute = task.GetType().GetCustomAttribute<TaskAttribute>();
|
var taskAttribute = task.GetType().GetCustomAttribute<TaskAttribute>();
|
||||||
Log($"---------------------------------------->{taskAttribute.Desc}");
|
Log($"---------------------------------------->{taskAttribute.Desc}<---------------------------------------");
|
||||||
task.Run(context);
|
task.Run(context);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Debug.LogError($"Build task {task.GetType().Name} failed !");
|
buildResult.FailedTask = task.GetType().Name;
|
||||||
Debug.LogError($"Build error : {e}");
|
buildResult.FailedInfo = e.ToString();
|
||||||
succeed = false;
|
buildResult.Success = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 返回运行结果
|
// 返回运行结果
|
||||||
return succeed;
|
return buildResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.IO;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|||||||
@@ -0,0 +1,82 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
using UnityEditor.Build.Pipeline;
|
||||||
|
using UnityEditor.Build.Pipeline.Interfaces;
|
||||||
|
|
||||||
|
namespace YooAsset.Editor
|
||||||
|
{
|
||||||
|
[TaskAttribute("资源构建内容打包")]
|
||||||
|
public class TaskBuilding_SBP : IBuildTask
|
||||||
|
{
|
||||||
|
public class SBPBuildResultContext : IContextObject
|
||||||
|
{
|
||||||
|
public IBundleBuildResults Results;
|
||||||
|
}
|
||||||
|
|
||||||
|
void IBuildTask.Run(BuildContext context)
|
||||||
|
{
|
||||||
|
var buildParametersContext = context.GetContextObject<BuildParametersContext>();
|
||||||
|
var buildMapContext = context.GetContextObject<BuildMapContext>();
|
||||||
|
|
||||||
|
// 模拟构建模式下跳过引擎构建
|
||||||
|
var buildMode = buildParametersContext.Parameters.BuildMode;
|
||||||
|
if (buildMode == EBuildMode.SimulateBuild)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// 构建内容
|
||||||
|
var buildContent = new BundleBuildContent(buildMapContext.GetPipelineBuilds());
|
||||||
|
|
||||||
|
// 开始构建
|
||||||
|
IBundleBuildResults buildResults;
|
||||||
|
var buildParameters = buildParametersContext.GetSBPBuildParameters();
|
||||||
|
var taskList = DefaultBuildTasks.Create(DefaultBuildTasks.Preset.AssetBundleBuiltInShaderExtraction);
|
||||||
|
ReturnCode exitCode = ContentPipeline.BuildAssetBundles(buildParameters, buildContent, out buildResults, taskList);
|
||||||
|
if (exitCode < 0)
|
||||||
|
{
|
||||||
|
throw new Exception($"构建过程中发生错误 : {exitCode}");
|
||||||
|
}
|
||||||
|
|
||||||
|
BuildRunner.Log("Unity引擎打包成功!");
|
||||||
|
SBPBuildResultContext buildResultContext = new SBPBuildResultContext();
|
||||||
|
buildResultContext.Results = buildResults;
|
||||||
|
context.SetContextObject(buildResultContext);
|
||||||
|
|
||||||
|
// 添加Unity内置资源包信息
|
||||||
|
if (buildResults.BundleInfos.Keys.Any(t => t == YooAssetSettings.UnityBuiltInShadersBundleName))
|
||||||
|
{
|
||||||
|
BuildBundleInfo builtInBundleInfo = new BuildBundleInfo(YooAssetSettings.UnityBuiltInShadersBundleName);
|
||||||
|
buildMapContext.BundleInfos.Add(builtInBundleInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 拷贝原生文件
|
||||||
|
if (buildMode == EBuildMode.ForceRebuild || buildMode == EBuildMode.IncrementalBuild)
|
||||||
|
{
|
||||||
|
CopyRawBundle(buildMapContext, buildParametersContext);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 拷贝原生文件
|
||||||
|
/// </summary>
|
||||||
|
private void CopyRawBundle(BuildMapContext buildMapContext, BuildParametersContext buildParametersContext)
|
||||||
|
{
|
||||||
|
foreach (var bundleInfo in buildMapContext.BundleInfos)
|
||||||
|
{
|
||||||
|
if (bundleInfo.IsRawFile)
|
||||||
|
{
|
||||||
|
string dest = $"{buildParametersContext.PipelineOutputDirectory}/{bundleInfo.BundleName}";
|
||||||
|
foreach (var buildAsset in bundleInfo.BuildinAssets)
|
||||||
|
{
|
||||||
|
if (buildAsset.IsRawAsset)
|
||||||
|
EditorTools.CopyFile(buildAsset.AssetPath, dest, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1af5fed7e9f83174d868c12b41c4a79e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -35,7 +35,7 @@ namespace YooAsset.Editor
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
string sourcePath = $"{pipelineOutputDirectory}/{patchBundle.BundleName}";
|
string sourcePath = $"{pipelineOutputDirectory}/{patchBundle.BundleName}";
|
||||||
string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.Hash}";
|
string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.FileName}";
|
||||||
EditorTools.CopyFile(sourcePath, destPath, true);
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.Linq;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
using UnityEditor.Build.Pipeline;
|
||||||
|
using UnityEditor.Build.Pipeline.Interfaces;
|
||||||
|
|
||||||
namespace YooAsset.Editor
|
namespace YooAsset.Editor
|
||||||
{
|
{
|
||||||
[TaskAttribute("创建补丁清单文件")]
|
[TaskAttribute("创建补丁清单文件")]
|
||||||
@@ -10,28 +13,36 @@ namespace YooAsset.Editor
|
|||||||
{
|
{
|
||||||
void IBuildTask.Run(BuildContext context)
|
void IBuildTask.Run(BuildContext context)
|
||||||
{
|
{
|
||||||
var buildParameters = context.GetContextObject<BuildParametersContext>();
|
CreatePatchManifestFile(context);
|
||||||
var buildMapContext = context.GetContextObject<BuildMapContext>();
|
|
||||||
var encryptionContext = context.GetContextObject<TaskEncryption.EncryptionContext>();
|
|
||||||
CreatePatchManifestFile(buildParameters, buildMapContext, encryptionContext);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建补丁清单文件到输出目录
|
/// 创建补丁清单文件到输出目录
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void CreatePatchManifestFile(BuildParametersContext buildParameters, BuildMapContext buildMapContext,
|
private void CreatePatchManifestFile(BuildContext context)
|
||||||
TaskEncryption.EncryptionContext encryptionContext)
|
|
||||||
{
|
{
|
||||||
|
var buildParameters = context.GetContextObject<BuildParametersContext>();
|
||||||
|
var buildMapContext = context.GetContextObject<BuildMapContext>();
|
||||||
|
var encryptionContext = context.GetContextObject<TaskEncryption.EncryptionContext>();
|
||||||
int resourceVersion = buildParameters.Parameters.BuildVersion;
|
int resourceVersion = buildParameters.Parameters.BuildVersion;
|
||||||
|
|
||||||
// 创建新补丁清单
|
// 创建新补丁清单
|
||||||
PatchManifest patchManifest = new PatchManifest();
|
PatchManifest patchManifest = new PatchManifest();
|
||||||
patchManifest.EnableAddressable = buildParameters.Parameters.EnableAddressable;
|
patchManifest.FileVersion = YooAssetSettings.PatchManifestFileVersion;
|
||||||
patchManifest.ResourceVersion = buildParameters.Parameters.BuildVersion;
|
patchManifest.ResourceVersion = buildParameters.Parameters.BuildVersion;
|
||||||
|
patchManifest.EnableAddressable = buildParameters.Parameters.EnableAddressable;
|
||||||
|
patchManifest.OutputNameStyle = (int)buildParameters.Parameters.OutputNameStyle;
|
||||||
patchManifest.BuildinTags = buildParameters.Parameters.BuildinTags;
|
patchManifest.BuildinTags = buildParameters.Parameters.BuildinTags;
|
||||||
patchManifest.BundleList = GetAllPatchBundle(buildParameters, buildMapContext, encryptionContext);
|
patchManifest.BundleList = GetAllPatchBundle(buildParameters, buildMapContext, encryptionContext);
|
||||||
patchManifest.AssetList = GetAllPatchAsset(buildParameters, buildMapContext, patchManifest);
|
patchManifest.AssetList = GetAllPatchAsset(buildParameters, buildMapContext, patchManifest);
|
||||||
|
|
||||||
|
// 更新Unity内置资源包的引用关系
|
||||||
|
if (buildParameters.Parameters.BuildPipeline == EBuildPipeline.ScriptableBuildPipeline)
|
||||||
|
{
|
||||||
|
var buildResultContext = context.GetContextObject<TaskBuilding_SBP.SBPBuildResultContext>();
|
||||||
|
UpdateBuiltInBundleReference(patchManifest, buildResultContext.Results);
|
||||||
|
}
|
||||||
|
|
||||||
// 创建补丁清单文件
|
// 创建补丁清单文件
|
||||||
string manifestFilePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.GetPatchManifestFileName(resourceVersion)}";
|
string manifestFilePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.GetPatchManifestFileName(resourceVersion)}";
|
||||||
BuildRunner.Log($"创建补丁清单文件:{manifestFilePath}");
|
BuildRunner.Log($"创建补丁清单文件:{manifestFilePath}");
|
||||||
@@ -73,12 +84,6 @@ namespace YooAsset.Editor
|
|||||||
bool isBuildin = IsBuildinBundle(tags, buildinTags);
|
bool isBuildin = IsBuildinBundle(tags, buildinTags);
|
||||||
bool isRawFile = bundleInfo.IsRawFile;
|
bool isRawFile = bundleInfo.IsRawFile;
|
||||||
|
|
||||||
// 附加文件扩展名
|
|
||||||
if (buildParameters.Parameters.AppendFileExtension)
|
|
||||||
{
|
|
||||||
hash += bundleInfo.GetAppendExtension();
|
|
||||||
}
|
|
||||||
|
|
||||||
PatchBundle patchBundle = new PatchBundle(bundleName, hash, crc32, size, tags);
|
PatchBundle patchBundle = new PatchBundle(bundleName, hash, crc32, size, tags);
|
||||||
patchBundle.SetFlagsValue(isEncrypted, isBuildin, isRawFile);
|
patchBundle.SetFlagsValue(isEncrypted, isBuildin, isRawFile);
|
||||||
result.Add(patchBundle);
|
result.Add(patchBundle);
|
||||||
@@ -172,5 +177,45 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
throw new Exception($"Not found bundle name : {bundleName}");
|
throw new Exception($"Not found bundle name : {bundleName}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 更新Unity内置资源包的引用关系
|
||||||
|
/// </summary>
|
||||||
|
private void UpdateBuiltInBundleReference(PatchManifest patchManifest, IBundleBuildResults buildResults)
|
||||||
|
{
|
||||||
|
// 获取所有依赖内置资源包的资源包列表
|
||||||
|
List<string> builtInBundleReferenceList = new List<string>();
|
||||||
|
foreach (var valuePair in buildResults.BundleInfos)
|
||||||
|
{
|
||||||
|
if (valuePair.Value.Dependencies.Any(t => t == YooAssetSettings.UnityBuiltInShadersBundleName))
|
||||||
|
builtInBundleReferenceList.Add(valuePair.Key);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 检测依赖交集并更新依赖ID
|
||||||
|
int builtInBundleId = patchManifest.BundleList.Count - 1;
|
||||||
|
foreach (var patchAsset in patchManifest.AssetList)
|
||||||
|
{
|
||||||
|
List<string> dependBundles = GetPatchAssetAllDependBundles(patchManifest, patchAsset);
|
||||||
|
List<string> conflictAssetPathList = dependBundles.Intersect(builtInBundleReferenceList).ToList();
|
||||||
|
if (conflictAssetPathList.Count > 0)
|
||||||
|
{
|
||||||
|
List<int> newDependIDs = new List<int>(patchAsset.DependIDs);
|
||||||
|
newDependIDs.Add(builtInBundleId);
|
||||||
|
patchAsset.DependIDs = newDependIDs.ToArray();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private List<string> GetPatchAssetAllDependBundles(PatchManifest patchManifest, PatchAsset patchAsset)
|
||||||
|
{
|
||||||
|
List<string> result = new List<string>();
|
||||||
|
string mainBundle = patchManifest.BundleList[patchAsset.BundleID].BundleName;
|
||||||
|
result.Add(mainBundle);
|
||||||
|
foreach (var dependID in patchAsset.DependIDs)
|
||||||
|
{
|
||||||
|
string dependBundle = patchManifest.BundleList[dependID].BundleName;
|
||||||
|
result.Add(dependBundle);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -54,18 +54,38 @@ namespace YooAsset.Editor
|
|||||||
EditorTools.CopyFile(sourcePath, destPath, true);
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 拷贝UnityManifest序列化文件
|
if (buildParameters.Parameters.BuildPipeline == EBuildPipeline.ScriptableBuildPipeline)
|
||||||
{
|
{
|
||||||
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}";
|
// 拷贝构建日志
|
||||||
string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}";
|
{
|
||||||
EditorTools.CopyFile(sourcePath, destPath, true);
|
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/buildlogtep.json";
|
||||||
}
|
string destPath = $"{packageDirectory}/buildlogtep.json";
|
||||||
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
|
}
|
||||||
|
|
||||||
// 拷贝UnityManifest文本文件
|
// 拷贝代码防裁剪配置
|
||||||
|
if (buildParameters.Parameters.SBPParameters.WriteLinkXML)
|
||||||
|
{
|
||||||
|
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/link.xml";
|
||||||
|
string destPath = $"{packageDirectory}/link.xml";
|
||||||
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}.manifest";
|
// 拷贝UnityManifest序列化文件
|
||||||
string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}.manifest";
|
{
|
||||||
EditorTools.CopyFile(sourcePath, destPath, true);
|
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.OutputFolderName}";
|
||||||
|
string destPath = $"{packageDirectory}/{YooAssetSettings.OutputFolderName}";
|
||||||
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 拷贝UnityManifest文本文件
|
||||||
|
{
|
||||||
|
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettings.OutputFolderName}.manifest";
|
||||||
|
string destPath = $"{packageDirectory}/{YooAssetSettings.OutputFolderName}.manifest";
|
||||||
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 拷贝所有补丁文件
|
// 拷贝所有补丁文件
|
||||||
@@ -75,7 +95,7 @@ namespace YooAsset.Editor
|
|||||||
foreach (var patchBundle in patchManifest.BundleList)
|
foreach (var patchBundle in patchManifest.BundleList)
|
||||||
{
|
{
|
||||||
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{patchBundle.BundleName}";
|
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{patchBundle.BundleName}";
|
||||||
string destPath = $"{packageDirectory}/{patchBundle.Hash}";
|
string destPath = $"{packageDirectory}/{patchBundle.FileName}";
|
||||||
EditorTools.CopyFile(sourcePath, destPath, true);
|
EditorTools.CopyFile(sourcePath, destPath, true);
|
||||||
EditorTools.DisplayProgressBar("拷贝补丁文件", ++progressValue, patchFileTotalCount);
|
EditorTools.DisplayProgressBar("拷贝补丁文件", ++progressValue, patchFileTotalCount);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,19 +29,24 @@ namespace YooAsset.Editor
|
|||||||
private void CreateReportFile(BuildParametersContext buildParameters, BuildMapContext buildMapContext)
|
private void CreateReportFile(BuildParametersContext buildParameters, BuildMapContext buildMapContext)
|
||||||
{
|
{
|
||||||
PatchManifest patchManifest = AssetBundleBuilderHelper.LoadPatchManifestFile(buildParameters.PipelineOutputDirectory, buildParameters.Parameters.BuildVersion);
|
PatchManifest patchManifest = AssetBundleBuilderHelper.LoadPatchManifestFile(buildParameters.PipelineOutputDirectory, buildParameters.Parameters.BuildVersion);
|
||||||
BuildReport buildReport = new BuildReport();
|
BuildReport buildReport = new BuildReport();
|
||||||
|
|
||||||
// 概述信息
|
// 概述信息
|
||||||
{
|
{
|
||||||
|
#if UNITY_2019_4_OR_NEWER
|
||||||
|
UnityEditor.PackageManager.PackageInfo packageInfo = UnityEditor.PackageManager.PackageInfo.FindForAssembly(typeof(BuildReport).Assembly);
|
||||||
|
if (packageInfo != null)
|
||||||
|
buildReport.Summary.YooVersion = packageInfo.version;
|
||||||
|
#endif
|
||||||
buildReport.Summary.UnityVersion = UnityEngine.Application.unityVersion;
|
buildReport.Summary.UnityVersion = UnityEngine.Application.unityVersion;
|
||||||
buildReport.Summary.BuildTime = DateTime.Now.ToString();
|
buildReport.Summary.BuildDate = DateTime.Now.ToString();
|
||||||
buildReport.Summary.BuildSeconds = (int)buildParameters.GetBuildingSeconds();
|
buildReport.Summary.BuildSeconds = (int)buildParameters.GetBuildingSeconds();
|
||||||
buildReport.Summary.BuildTarget = buildParameters.Parameters.BuildTarget;
|
buildReport.Summary.BuildTarget = buildParameters.Parameters.BuildTarget;
|
||||||
|
buildReport.Summary.BuildPipeline = buildParameters.Parameters.BuildPipeline;
|
||||||
buildReport.Summary.BuildMode = buildParameters.Parameters.BuildMode;
|
buildReport.Summary.BuildMode = buildParameters.Parameters.BuildMode;
|
||||||
buildReport.Summary.BuildVersion = buildParameters.Parameters.BuildVersion;
|
buildReport.Summary.BuildVersion = buildParameters.Parameters.BuildVersion;
|
||||||
buildReport.Summary.BuildinTags = buildParameters.Parameters.BuildinTags;
|
buildReport.Summary.BuildinTags = buildParameters.Parameters.BuildinTags;
|
||||||
buildReport.Summary.EnableAddressable = buildParameters.Parameters.EnableAddressable;
|
buildReport.Summary.EnableAddressable = buildParameters.Parameters.EnableAddressable;
|
||||||
buildReport.Summary.AppendFileExtension = buildParameters.Parameters.AppendFileExtension;
|
|
||||||
buildReport.Summary.CopyBuildinTagFiles = buildParameters.Parameters.CopyBuildinTagFiles;
|
buildReport.Summary.CopyBuildinTagFiles = buildParameters.Parameters.CopyBuildinTagFiles;
|
||||||
buildReport.Summary.AutoCollectShaders = AssetBundleCollectorSettingData.Setting.AutoCollectShaders;
|
buildReport.Summary.AutoCollectShaders = AssetBundleCollectorSettingData.Setting.AutoCollectShaders;
|
||||||
buildReport.Summary.ShadersBundleName = AssetBundleCollectorSettingData.Setting.ShadersBundleName;
|
buildReport.Summary.ShadersBundleName = AssetBundleCollectorSettingData.Setting.ShadersBundleName;
|
||||||
@@ -49,12 +54,14 @@ namespace YooAsset.Editor
|
|||||||
"null" : buildParameters.Parameters.EncryptionServices.GetType().FullName;
|
"null" : buildParameters.Parameters.EncryptionServices.GetType().FullName;
|
||||||
|
|
||||||
// 构建参数
|
// 构建参数
|
||||||
|
buildReport.Summary.OutputNameStyle = buildParameters.Parameters.OutputNameStyle;
|
||||||
buildReport.Summary.CompressOption = buildParameters.Parameters.CompressOption;
|
buildReport.Summary.CompressOption = buildParameters.Parameters.CompressOption;
|
||||||
buildReport.Summary.DisableWriteTypeTree = buildParameters.Parameters.DisableWriteTypeTree;
|
buildReport.Summary.DisableWriteTypeTree = buildParameters.Parameters.DisableWriteTypeTree;
|
||||||
buildReport.Summary.IgnoreTypeTreeChanges = buildParameters.Parameters.IgnoreTypeTreeChanges;
|
buildReport.Summary.IgnoreTypeTreeChanges = buildParameters.Parameters.IgnoreTypeTreeChanges;
|
||||||
|
|
||||||
// 构建结果
|
// 构建结果
|
||||||
buildReport.Summary.AssetFileTotalCount = buildMapContext.AssetFileCount;
|
buildReport.Summary.AssetFileTotalCount = buildMapContext.AssetFileCount;
|
||||||
|
buildReport.Summary.MainAssetTotalCount = GetMainAssetCount(patchManifest);
|
||||||
buildReport.Summary.AllBundleTotalCount = GetAllBundleCount(patchManifest);
|
buildReport.Summary.AllBundleTotalCount = GetAllBundleCount(patchManifest);
|
||||||
buildReport.Summary.AllBundleTotalSize = GetAllBundleSize(patchManifest);
|
buildReport.Summary.AllBundleTotalSize = GetAllBundleSize(patchManifest);
|
||||||
buildReport.Summary.BuildinBundleTotalCount = GetBuildinBundleCount(patchManifest);
|
buildReport.Summary.BuildinBundleTotalCount = GetBuildinBundleCount(patchManifest);
|
||||||
@@ -88,6 +95,7 @@ namespace YooAsset.Editor
|
|||||||
{
|
{
|
||||||
ReportBundleInfo reportBundleInfo = new ReportBundleInfo();
|
ReportBundleInfo reportBundleInfo = new ReportBundleInfo();
|
||||||
reportBundleInfo.BundleName = patchBundle.BundleName;
|
reportBundleInfo.BundleName = patchBundle.BundleName;
|
||||||
|
reportBundleInfo.FileName = patchBundle.FileName;
|
||||||
reportBundleInfo.Hash = patchBundle.Hash;
|
reportBundleInfo.Hash = patchBundle.Hash;
|
||||||
reportBundleInfo.CRC = patchBundle.CRC;
|
reportBundleInfo.CRC = patchBundle.CRC;
|
||||||
reportBundleInfo.SizeBytes = patchBundle.SizeBytes;
|
reportBundleInfo.SizeBytes = patchBundle.SizeBytes;
|
||||||
@@ -153,6 +161,10 @@ namespace YooAsset.Editor
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private int GetMainAssetCount(PatchManifest patchManifest)
|
||||||
|
{
|
||||||
|
return patchManifest.AssetList.Count;
|
||||||
|
}
|
||||||
private int GetAllBundleCount(PatchManifest patchManifest)
|
private int GetAllBundleCount(PatchManifest patchManifest)
|
||||||
{
|
{
|
||||||
return patchManifest.BundleList.Count;
|
return patchManifest.BundleList.Count;
|
||||||
|
|||||||
@@ -26,28 +26,39 @@ namespace YooAsset.Editor
|
|||||||
if (string.IsNullOrEmpty(buildParameters.PipelineOutputDirectory))
|
if (string.IsNullOrEmpty(buildParameters.PipelineOutputDirectory))
|
||||||
throw new Exception("输出目录不能为空");
|
throw new Exception("输出目录不能为空");
|
||||||
|
|
||||||
|
// 检测当前是否正在构建资源包
|
||||||
|
if (BuildPipeline.isBuildingPlayer)
|
||||||
|
throw new Exception("当前正在构建资源包,请结束后再试");
|
||||||
|
|
||||||
|
// 检测是否有未保存场景
|
||||||
|
if (EditorTools.HasDirtyScenes())
|
||||||
|
throw new Exception("检测到未保存的场景文件");
|
||||||
|
|
||||||
|
// 保存改动的资源
|
||||||
|
AssetDatabase.SaveAssets();
|
||||||
|
|
||||||
// 增量更新时候的必要检测
|
// 增量更新时候的必要检测
|
||||||
var buildMode = buildParameters.Parameters.BuildMode;
|
var buildMode = buildParameters.Parameters.BuildMode;
|
||||||
if (buildMode == EBuildMode.IncrementalBuild)
|
if (buildMode == EBuildMode.IncrementalBuild)
|
||||||
{
|
{
|
||||||
// 检测历史版本是否存在
|
// 检测历史版本是否存在
|
||||||
if (AssetBundleBuilderHelper.HasAnyPackageVersion(buildParameters.Parameters.BuildTarget, buildParameters.Parameters.OutputRoot) == false)
|
if (AssetBundleBuilderHelper.HasAnyPackageVersion(buildParameters.Parameters.BuildTarget, buildParameters.Parameters.OutputRoot))
|
||||||
throw new Exception("没有发现任何历史版本,请尝试强制重建");
|
{
|
||||||
|
// 检测构建版本是否合法
|
||||||
|
int maxPackageVersion = AssetBundleBuilderHelper.GetMaxPackageVersion(buildParameters.Parameters.BuildTarget, buildParameters.Parameters.OutputRoot);
|
||||||
|
if (buildParameters.Parameters.BuildVersion <= maxPackageVersion)
|
||||||
|
throw new Exception("构建版本不能小于历史版本");
|
||||||
|
|
||||||
// 检测构建版本是否合法
|
// 检测补丁包是否已经存在
|
||||||
int maxPackageVersion = AssetBundleBuilderHelper.GetMaxPackageVersion(buildParameters.Parameters.BuildTarget, buildParameters.Parameters.OutputRoot);
|
string packageDirectory = buildParameters.GetPackageDirectory();
|
||||||
if (buildParameters.Parameters.BuildVersion <= maxPackageVersion)
|
if (Directory.Exists(packageDirectory))
|
||||||
throw new Exception("构建版本不能小于历史版本");
|
throw new Exception($"补丁包已经存在:{packageDirectory}");
|
||||||
|
|
||||||
// 检测补丁包是否已经存在
|
// 检测内置资源分类标签是否一致
|
||||||
string packageDirectory = buildParameters.GetPackageDirectory();
|
var oldPatchManifest = AssetBundleBuilderHelper.GetOldPatchManifest(buildParameters.PipelineOutputDirectory);
|
||||||
if (Directory.Exists(packageDirectory))
|
if (buildParameters.Parameters.BuildinTags != oldPatchManifest.BuildinTags)
|
||||||
throw new Exception($"补丁包已经存在:{packageDirectory}");
|
throw new Exception($"增量更新时内置资源标签必须一致:{buildParameters.Parameters.BuildinTags} != {oldPatchManifest.BuildinTags}");
|
||||||
|
}
|
||||||
// 检测内置资源分类标签是否一致
|
|
||||||
var oldPatchManifest = AssetBundleBuilderHelper.GetOldPatchManifest(buildParameters.PipelineOutputDirectory);
|
|
||||||
if (buildParameters.Parameters.BuildinTags != oldPatchManifest.BuildinTags)
|
|
||||||
throw new Exception($"增量更新时内置资源标签必须一致:{buildParameters.Parameters.BuildinTags} != {oldPatchManifest.BuildinTags}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 如果是强制重建
|
// 如果是强制重建
|
||||||
|
|||||||
@@ -37,53 +37,21 @@ namespace YooAsset.Editor
|
|||||||
string[] buildedBundles = unityManifest.GetAllAssetBundles();
|
string[] buildedBundles = unityManifest.GetAllAssetBundles();
|
||||||
|
|
||||||
// 1. 过滤掉原生Bundle
|
// 1. 过滤掉原生Bundle
|
||||||
List<BuildBundleInfo> expectBundles = new List<BuildBundleInfo>(buildedBundles.Length);
|
string[] expectBundles = buildMapContext.BundleInfos.Where(t => t.IsRawFile == false).Select(t => t.BundleName).ToArray();
|
||||||
foreach(var bundleInfo in buildMapContext.BundleInfos)
|
|
||||||
{
|
|
||||||
if (bundleInfo.IsRawFile == false)
|
|
||||||
expectBundles.Add(bundleInfo);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 2. 验证数量
|
// 2. 验证Bundle
|
||||||
if (buildedBundles.Length != expectBundles.Count)
|
List<string> intersectBundleList = buildedBundles.Except(expectBundles).ToList();
|
||||||
|
if (intersectBundleList.Count > 0)
|
||||||
{
|
{
|
||||||
Debug.LogWarning($"构建过程中可能存在无效的资源,导致和预期构建的Bundle数量不一致!");
|
foreach (var intersectBundle in intersectBundleList)
|
||||||
}
|
|
||||||
|
|
||||||
// 3. 正向验证Bundle
|
|
||||||
foreach (var bundleName in buildedBundles)
|
|
||||||
{
|
|
||||||
if (buildMapContext.IsContainsBundle(bundleName) == false)
|
|
||||||
{
|
{
|
||||||
throw new Exception($"Should never get here !");
|
Debug.LogWarning($"差异资源包: {intersectBundle}");
|
||||||
}
|
}
|
||||||
|
throw new System.Exception("存在差异资源包!请查看警告信息!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 4. 反向验证Bundle
|
// 3. 验证Asset
|
||||||
bool isPass = true;
|
bool isPass = true;
|
||||||
foreach (var expectBundle in expectBundles)
|
|
||||||
{
|
|
||||||
bool isMatch = false;
|
|
||||||
foreach (var buildedBundle in buildedBundles)
|
|
||||||
{
|
|
||||||
if (buildedBundle == expectBundle.BundleName)
|
|
||||||
{
|
|
||||||
isMatch = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (isMatch == false)
|
|
||||||
{
|
|
||||||
isPass = false;
|
|
||||||
Debug.LogWarning($"没有找到预期构建的Bundle文件 : {expectBundle.BundleName}");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(isPass == false)
|
|
||||||
{
|
|
||||||
throw new Exception("构建结果验证没有通过,请参考警告日志!");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 5. 验证Asset
|
|
||||||
var buildMode = buildParameters.Parameters.BuildMode;
|
var buildMode = buildParameters.Parameters.BuildMode;
|
||||||
if (buildMode == EBuildMode.ForceRebuild || buildMode == EBuildMode.IncrementalBuild)
|
if (buildMode == EBuildMode.ForceRebuild || buildMode == EBuildMode.IncrementalBuild)
|
||||||
{
|
{
|
||||||
@@ -96,38 +64,14 @@ namespace YooAsset.Editor
|
|||||||
if (expectBuildinAssetPaths.Length != allBuildinAssetPaths.Length)
|
if (expectBuildinAssetPaths.Length != allBuildinAssetPaths.Length)
|
||||||
{
|
{
|
||||||
Debug.LogWarning($"构建的Bundle文件内的资源对象数量和预期不匹配 : {buildedBundle}");
|
Debug.LogWarning($"构建的Bundle文件内的资源对象数量和预期不匹配 : {buildedBundle}");
|
||||||
|
var intersectAssetList = expectBuildinAssetPaths.Except(allBuildinAssetPaths).ToList();
|
||||||
|
foreach (var intersectAssset in intersectAssetList)
|
||||||
|
{
|
||||||
|
Debug.LogWarning($"构建失败的资源对象路径为 : {intersectAssset}");
|
||||||
|
}
|
||||||
isPass = false;
|
isPass = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var buildinAssetPath in allBuildinAssetPaths)
|
|
||||||
{
|
|
||||||
var guid = AssetDatabase.AssetPathToGUID(buildinAssetPath);
|
|
||||||
if (string.IsNullOrEmpty(guid))
|
|
||||||
{
|
|
||||||
Debug.LogWarning($"无效的资源路径,请检查路径是否带有特殊符号或中文:{buildinAssetPath}");
|
|
||||||
isPass = false;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isMatch = false;
|
|
||||||
foreach (var exceptBuildAssetPath in expectBuildinAssetPaths)
|
|
||||||
{
|
|
||||||
var guidExcept = AssetDatabase.AssetPathToGUID(exceptBuildAssetPath);
|
|
||||||
if (guid == guidExcept)
|
|
||||||
{
|
|
||||||
isMatch = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (isMatch == false)
|
|
||||||
{
|
|
||||||
Debug.LogWarning($"在构建的Bundle文件里发现了没有匹配的资源对象:{buildinAssetPath}");
|
|
||||||
isPass = false;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorTools.DisplayProgressBar("验证构建结果", ++progressValue, buildedBundles.Length);
|
EditorTools.DisplayProgressBar("验证构建结果", ++progressValue, buildedBundles.Length);
|
||||||
}
|
}
|
||||||
EditorTools.ClearProgressBar();
|
EditorTools.ClearProgressBar();
|
||||||
@@ -137,7 +81,6 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 卸载所有加载的Bundle
|
|
||||||
BuildRunner.Log("构建结果验证成功!");
|
BuildRunner.Log("构建结果验证成功!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.IO;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEditor.Build.Pipeline.Interfaces;
|
||||||
|
|
||||||
|
namespace YooAsset.Editor
|
||||||
|
{
|
||||||
|
[TaskAttribute("验证构建结果")]
|
||||||
|
public class TaskVerifyBuildResult_SBP : IBuildTask
|
||||||
|
{
|
||||||
|
void IBuildTask.Run(BuildContext context)
|
||||||
|
{
|
||||||
|
var buildParametersContext = context.GetContextObject<BuildParametersContext>();
|
||||||
|
|
||||||
|
// 模拟构建模式下跳过验证
|
||||||
|
if (buildParametersContext.Parameters.BuildMode == EBuildMode.SimulateBuild)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// 验证构建结果
|
||||||
|
if (buildParametersContext.Parameters.VerifyBuildingResult)
|
||||||
|
{
|
||||||
|
var buildResultContext = context.GetContextObject<TaskBuilding_SBP.SBPBuildResultContext>();
|
||||||
|
VerifyingBuildingResult(context, buildResultContext.Results);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 验证构建结果
|
||||||
|
/// </summary>
|
||||||
|
private void VerifyingBuildingResult(BuildContext context, IBundleBuildResults buildResults)
|
||||||
|
{
|
||||||
|
var buildParameters = context.GetContextObject<BuildParametersContext>();
|
||||||
|
var buildMapContext = context.GetContextObject<BuildMapContext>();
|
||||||
|
|
||||||
|
// 1. 移除特定Bundle
|
||||||
|
List<string> buildedBundles = buildResults.BundleInfos.Keys.ToList();
|
||||||
|
buildedBundles.Remove(YooAssetSettings.UnityBuiltInShadersBundleName);
|
||||||
|
|
||||||
|
// 2. 过滤掉原生Bundle
|
||||||
|
List<string> expectBundles = buildMapContext.BundleInfos.Where(t => t.IsRawFile == false).Select(t => t.BundleName).ToList();
|
||||||
|
|
||||||
|
// 3. 验证Bundle
|
||||||
|
List<string> intersectBundleList = buildedBundles.Except(expectBundles).ToList();
|
||||||
|
if (intersectBundleList.Count > 0)
|
||||||
|
{
|
||||||
|
foreach (var intersectBundle in intersectBundleList)
|
||||||
|
{
|
||||||
|
Debug.LogWarning($"差异资源包: {intersectBundle}");
|
||||||
|
}
|
||||||
|
throw new System.Exception("存在差异资源包!请查看警告信息!");
|
||||||
|
}
|
||||||
|
|
||||||
|
BuildRunner.Log("构建结果验证成功!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 16aa7c2c37209a043b4f33d7854047c6
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
19
Assets/YooAsset/Editor/AssetBundleBuilder/EBuildPipeline.cs
Normal file
19
Assets/YooAsset/Editor/AssetBundleBuilder/EBuildPipeline.cs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
namespace YooAsset.Editor
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 构建管线类型
|
||||||
|
/// </summary>
|
||||||
|
public enum EBuildPipeline
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 传统内置构建管线
|
||||||
|
/// </summary>
|
||||||
|
BuiltinBuildPipeline,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 可编程构建管线
|
||||||
|
/// </summary>
|
||||||
|
ScriptableBuildPipeline,
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e53e56a0f6b01dd4c933249d2bda8d78
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
namespace YooAsset.Editor
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 输出文件名称的样式
|
||||||
|
/// </summary>
|
||||||
|
public enum EOutputNameStyle
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 000000000000000f000000000000000
|
||||||
|
/// </summary>
|
||||||
|
HashName = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 000000000000000f000000000000000.bundle
|
||||||
|
/// </summary>
|
||||||
|
HashName_Extension = 2,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// bundle_name_000000000000000f000000000000000
|
||||||
|
/// </summary>
|
||||||
|
BundleName_HashName = 3,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// bundle_name_000000000000000f000000000000000.bundle
|
||||||
|
/// </summary>
|
||||||
|
BundleName_HashName_Extension = 4,
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 84c5eff5dedf53343897e83f6b10eea6
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -180,16 +180,32 @@ namespace YooAsset.Editor
|
|||||||
private bool IsValidateAsset(string assetPath)
|
private bool IsValidateAsset(string assetPath)
|
||||||
{
|
{
|
||||||
if (assetPath.StartsWith("Assets/") == false && assetPath.StartsWith("Packages/") == false)
|
if (assetPath.StartsWith("Assets/") == false && assetPath.StartsWith("Packages/") == false)
|
||||||
|
{
|
||||||
|
UnityEngine.Debug.LogError($"Invalid asset path : {assetPath}");
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
if (assetPath.Contains("/Gizmos/"))
|
||||||
|
{
|
||||||
|
UnityEngine.Debug.LogWarning($"Cannot pack gizmos asset : {assetPath}");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 忽略文件夹
|
||||||
if (AssetDatabase.IsValidFolder(assetPath))
|
if (AssetDatabase.IsValidFolder(assetPath))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// 注意:忽略编辑器下的类型资源
|
// 忽略编辑器下的类型资源
|
||||||
Type type = AssetDatabase.GetMainAssetTypeAtPath(assetPath);
|
Type type = AssetDatabase.GetMainAssetTypeAtPath(assetPath);
|
||||||
if (type == typeof(LightingDataAsset))
|
if (type == typeof(LightingDataAsset))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// 忽略Unity无法识别的无效文件
|
||||||
|
if (type == typeof(UnityEditor.DefaultAsset))
|
||||||
|
{
|
||||||
|
UnityEngine.Debug.LogWarning($"Cannot pack default asset : {assetPath}");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
string ext = System.IO.Path.GetExtension(assetPath);
|
string ext = System.IO.Path.GetExtension(assetPath);
|
||||||
if (ext == "" || ext == ".dll" || ext == ".cs" || ext == ".js" || ext == ".boo" || ext == ".meta" || ext == ".cginc")
|
if (ext == "" || ext == ".dll" || ext == ".cs" || ext == ".js" || ext == ".boo" || ext == ".meta" || ext == ".cginc")
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ namespace YooAsset.Editor
|
|||||||
window.minSize = new Vector2(800, 600);
|
window.minSize = new Vector2(800, 600);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private Button _saveButton;
|
||||||
private List<string> _collectorTypeList;
|
private List<string> _collectorTypeList;
|
||||||
private List<string> _activeRuleList;
|
private List<string> _activeRuleList;
|
||||||
private List<string> _addressRuleList;
|
private List<string> _addressRuleList;
|
||||||
@@ -69,6 +70,10 @@ namespace YooAsset.Editor
|
|||||||
var importBtn = root.Q<Button>("ImportButton");
|
var importBtn = root.Q<Button>("ImportButton");
|
||||||
importBtn.clicked += ImportBtn_clicked;
|
importBtn.clicked += ImportBtn_clicked;
|
||||||
|
|
||||||
|
// 配置保存按钮
|
||||||
|
_saveButton = root.Q<Button>("SaveButton");
|
||||||
|
_saveButton.clicked += SaveBtn_clicked;
|
||||||
|
|
||||||
// 公共设置相关
|
// 公共设置相关
|
||||||
_enableAddressableToogle = root.Q<Toggle>("EnableAddressable");
|
_enableAddressableToogle = root.Q<Toggle>("EnableAddressable");
|
||||||
_enableAddressableToogle.RegisterValueChangedCallback(evt =>
|
_enableAddressableToogle.RegisterValueChangedCallback(evt =>
|
||||||
@@ -193,6 +198,22 @@ namespace YooAsset.Editor
|
|||||||
if (AssetBundleCollectorSettingData.IsDirty)
|
if (AssetBundleCollectorSettingData.IsDirty)
|
||||||
AssetBundleCollectorSettingData.SaveFile();
|
AssetBundleCollectorSettingData.SaveFile();
|
||||||
}
|
}
|
||||||
|
public void Update()
|
||||||
|
{
|
||||||
|
if (_saveButton != null)
|
||||||
|
{
|
||||||
|
if (AssetBundleCollectorSettingData.IsDirty)
|
||||||
|
{
|
||||||
|
if (_saveButton.enabledSelf == false)
|
||||||
|
_saveButton.SetEnabled(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (_saveButton.enabledSelf)
|
||||||
|
_saveButton.SetEnabled(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void RefreshWindow()
|
private void RefreshWindow()
|
||||||
{
|
{
|
||||||
@@ -221,6 +242,10 @@ namespace YooAsset.Editor
|
|||||||
RefreshWindow();
|
RefreshWindow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private void SaveBtn_clicked()
|
||||||
|
{
|
||||||
|
AssetBundleCollectorSettingData.SaveFile();
|
||||||
|
}
|
||||||
|
|
||||||
// 分组列表相关
|
// 分组列表相关
|
||||||
private void FillGroupViewData()
|
private void FillGroupViewData()
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||||
<uie:Toolbar name="Toolbar" style="display: flex; flex-direction: row-reverse;">
|
<uie:Toolbar name="Toolbar" style="display: flex; flex-direction: row-reverse;">
|
||||||
|
<ui:Button text="Save" display-tooltip-when-elided="true" name="SaveButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
|
||||||
<ui:Button text="导出" display-tooltip-when-elided="true" name="ExportButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
|
<ui:Button text="导出" display-tooltip-when-elided="true" name="ExportButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
|
||||||
<ui:Button text="导入" display-tooltip-when-elided="true" name="ImportButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
|
<ui:Button text="导入" display-tooltip-when-elided="true" name="ImportButton" style="width: 50px; background-color: rgb(56, 147, 58);" />
|
||||||
</uie:Toolbar>
|
</uie:Toolbar>
|
||||||
|
|||||||
@@ -275,7 +275,7 @@ namespace YooAsset.Editor
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
string rootDirectory = Path.GetDirectoryName(_reportFilePath);
|
string rootDirectory = Path.GetDirectoryName(_reportFilePath);
|
||||||
string filePath = $"{rootDirectory}/{bundleInfo.Hash}";
|
string filePath = $"{rootDirectory}/{bundleInfo.FileName}";
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
Selection.activeObject = AssetBundleRecorder.GetAssetBundle(filePath);
|
Selection.activeObject = AssetBundleRecorder.GetAssetBundle(filePath);
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -58,16 +58,18 @@ namespace YooAsset.Editor
|
|||||||
_buildReport = buildReport;
|
_buildReport = buildReport;
|
||||||
|
|
||||||
_items.Clear();
|
_items.Clear();
|
||||||
|
|
||||||
|
_items.Add(new ItemWrapper("YooAsset版本", buildReport.Summary.YooVersion));
|
||||||
_items.Add(new ItemWrapper("引擎版本", buildReport.Summary.UnityVersion));
|
_items.Add(new ItemWrapper("引擎版本", buildReport.Summary.UnityVersion));
|
||||||
_items.Add(new ItemWrapper("构建时间", buildReport.Summary.BuildTime));
|
_items.Add(new ItemWrapper("构建时间", buildReport.Summary.BuildDate));
|
||||||
_items.Add(new ItemWrapper("构建耗时", $"{buildReport.Summary.BuildSeconds}秒"));
|
_items.Add(new ItemWrapper("构建耗时", $"{buildReport.Summary.BuildSeconds}秒"));
|
||||||
_items.Add(new ItemWrapper("构建平台", $"{buildReport.Summary.BuildTarget}"));
|
_items.Add(new ItemWrapper("构建平台", $"{buildReport.Summary.BuildTarget}"));
|
||||||
|
_items.Add(new ItemWrapper("构建管线", $"{buildReport.Summary.BuildPipeline}"));
|
||||||
_items.Add(new ItemWrapper("构建模式", $"{buildReport.Summary.BuildMode}"));
|
_items.Add(new ItemWrapper("构建模式", $"{buildReport.Summary.BuildMode}"));
|
||||||
_items.Add(new ItemWrapper("构建版本", $"{buildReport.Summary.BuildVersion}"));
|
_items.Add(new ItemWrapper("构建版本", $"{buildReport.Summary.BuildVersion}"));
|
||||||
_items.Add(new ItemWrapper("内置资源标签", $"{buildReport.Summary.BuildinTags}"));
|
_items.Add(new ItemWrapper("内置资源标签", $"{buildReport.Summary.BuildinTags}"));
|
||||||
|
|
||||||
_items.Add(new ItemWrapper("启用可寻址资源定位", $"{buildReport.Summary.EnableAddressable}"));
|
_items.Add(new ItemWrapper("启用可寻址资源定位", $"{buildReport.Summary.EnableAddressable}"));
|
||||||
_items.Add(new ItemWrapper("追加文件扩展名", $"{buildReport.Summary.AppendFileExtension}"));
|
|
||||||
_items.Add(new ItemWrapper("拷贝内置资源文件", $"{buildReport.Summary.CopyBuildinTagFiles}"));
|
_items.Add(new ItemWrapper("拷贝内置资源文件", $"{buildReport.Summary.CopyBuildinTagFiles}"));
|
||||||
_items.Add(new ItemWrapper("自动收集着色器", $"{buildReport.Summary.AutoCollectShaders}"));
|
_items.Add(new ItemWrapper("自动收集着色器", $"{buildReport.Summary.AutoCollectShaders}"));
|
||||||
_items.Add(new ItemWrapper("着色器资源包名称", $"{buildReport.Summary.ShadersBundleName}"));
|
_items.Add(new ItemWrapper("着色器资源包名称", $"{buildReport.Summary.ShadersBundleName}"));
|
||||||
@@ -75,6 +77,7 @@ namespace YooAsset.Editor
|
|||||||
|
|
||||||
_items.Add(new ItemWrapper(string.Empty, string.Empty));
|
_items.Add(new ItemWrapper(string.Empty, string.Empty));
|
||||||
_items.Add(new ItemWrapper("构建参数", string.Empty));
|
_items.Add(new ItemWrapper("构建参数", string.Empty));
|
||||||
|
_items.Add(new ItemWrapper("OutputNameStyle", $"{buildReport.Summary.OutputNameStyle}"));
|
||||||
_items.Add(new ItemWrapper("CompressOption", $"{buildReport.Summary.CompressOption}"));
|
_items.Add(new ItemWrapper("CompressOption", $"{buildReport.Summary.CompressOption}"));
|
||||||
_items.Add(new ItemWrapper("DisableWriteTypeTree", $"{buildReport.Summary.DisableWriteTypeTree}"));
|
_items.Add(new ItemWrapper("DisableWriteTypeTree", $"{buildReport.Summary.DisableWriteTypeTree}"));
|
||||||
_items.Add(new ItemWrapper("IgnoreTypeTreeChanges", $"{buildReport.Summary.IgnoreTypeTreeChanges}"));
|
_items.Add(new ItemWrapper("IgnoreTypeTreeChanges", $"{buildReport.Summary.IgnoreTypeTreeChanges}"));
|
||||||
@@ -82,6 +85,7 @@ namespace YooAsset.Editor
|
|||||||
_items.Add(new ItemWrapper(string.Empty, string.Empty));
|
_items.Add(new ItemWrapper(string.Empty, string.Empty));
|
||||||
_items.Add(new ItemWrapper("构建结果", string.Empty));
|
_items.Add(new ItemWrapper("构建结果", string.Empty));
|
||||||
_items.Add(new ItemWrapper("构建文件总数", $"{buildReport.Summary.AssetFileTotalCount}"));
|
_items.Add(new ItemWrapper("构建文件总数", $"{buildReport.Summary.AssetFileTotalCount}"));
|
||||||
|
_items.Add(new ItemWrapper("主资源总数", $"{buildReport.Summary.MainAssetTotalCount}"));
|
||||||
_items.Add(new ItemWrapper("资源包总数", $"{buildReport.Summary.AllBundleTotalCount}"));
|
_items.Add(new ItemWrapper("资源包总数", $"{buildReport.Summary.AllBundleTotalCount}"));
|
||||||
_items.Add(new ItemWrapper("资源包总大小", ConvertSize(buildReport.Summary.AllBundleTotalSize)));
|
_items.Add(new ItemWrapper("资源包总大小", ConvertSize(buildReport.Summary.AllBundleTotalSize)));
|
||||||
_items.Add(new ItemWrapper("内置资源包总数", $"{buildReport.Summary.BuildinBundleTotalCount}"));
|
_items.Add(new ItemWrapper("内置资源包总数", $"{buildReport.Summary.BuildinBundleTotalCount}"));
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ using System.IO;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
using UnityEditor.SceneManagement;
|
||||||
|
|
||||||
namespace YooAsset.Editor
|
namespace YooAsset.Editor
|
||||||
{
|
{
|
||||||
@@ -212,6 +213,11 @@ namespace YooAsset.Editor
|
|||||||
public static void FocusUnitySceneWindow()
|
public static void FocusUnitySceneWindow()
|
||||||
{
|
{
|
||||||
EditorWindow.FocusWindowIfItsOpen<SceneView>();
|
EditorWindow.FocusWindowIfItsOpen<SceneView>();
|
||||||
|
}
|
||||||
|
public static void CloseUnityGameWindow()
|
||||||
|
{
|
||||||
|
System.Type T = Assembly.Load("UnityEditor").GetType("UnityEditor.GameView");
|
||||||
|
EditorWindow.GetWindow(T, false, "GameView", true).Close();
|
||||||
}
|
}
|
||||||
public static void FocusUnityGameWindow()
|
public static void FocusUnityGameWindow()
|
||||||
{
|
{
|
||||||
@@ -265,6 +271,20 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region SceneUtility
|
||||||
|
public static bool HasDirtyScenes()
|
||||||
|
{
|
||||||
|
var sceneCount = EditorSceneManager.sceneCount;
|
||||||
|
for (var i = 0; i < sceneCount; ++i)
|
||||||
|
{
|
||||||
|
var scene = EditorSceneManager.GetSceneAt(i);
|
||||||
|
if (scene.isDirty)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 文件
|
#region 文件
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建文件所在的目录
|
/// 创建文件所在的目录
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -6,21 +6,18 @@ using System.IO;
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEditor.SceneManagement;
|
using UnityEditor.SceneManagement;
|
||||||
|
using Debug = UnityEngine.Debug;
|
||||||
|
|
||||||
namespace YooAsset.Editor
|
namespace YooAsset.Editor
|
||||||
{
|
{
|
||||||
[InitializeOnLoad]
|
|
||||||
public static class ShaderVariantCollector
|
public static class ShaderVariantCollector
|
||||||
{
|
{
|
||||||
private const float WaitMilliseconds = 1000f;
|
private const float WaitMilliseconds = 1000f;
|
||||||
private static string _saveFilePath;
|
private static string _saveFilePath;
|
||||||
private static bool _isStarted = false;
|
private static bool _isStarted = false;
|
||||||
private static readonly Stopwatch _elapsedTime = new Stopwatch();
|
private static readonly Stopwatch _elapsedTime = new Stopwatch();
|
||||||
|
private static Action _completedCallback;
|
||||||
|
|
||||||
static ShaderVariantCollector()
|
|
||||||
{
|
|
||||||
EditorApplication.update += EditorUpdate;
|
|
||||||
}
|
|
||||||
private static void EditorUpdate()
|
private static void EditorUpdate()
|
||||||
{
|
{
|
||||||
// 注意:一定要延迟保存才会起效
|
// 注意:一定要延迟保存才会起效
|
||||||
@@ -28,34 +25,23 @@ namespace YooAsset.Editor
|
|||||||
{
|
{
|
||||||
_isStarted = false;
|
_isStarted = false;
|
||||||
_elapsedTime.Stop();
|
_elapsedTime.Stop();
|
||||||
|
EditorApplication.update -= EditorUpdate;
|
||||||
|
|
||||||
// 保存结果
|
// 保存结果
|
||||||
SaveCurrentShaderVariantCollection();
|
SaveCurrentShaderVariantCollection();
|
||||||
|
|
||||||
// 创建说明文件
|
// 创建说明文件
|
||||||
CreateReadme();
|
CreateReadme();
|
||||||
}
|
|
||||||
}
|
|
||||||
private static void CreateReadme()
|
|
||||||
{
|
|
||||||
AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate);
|
|
||||||
|
|
||||||
ShaderVariantCollection svc = AssetDatabase.LoadAssetAtPath<ShaderVariantCollection>(_saveFilePath);
|
Debug.Log($"搜集SVC完毕!");
|
||||||
if(svc != null)
|
_completedCallback?.Invoke();
|
||||||
{
|
|
||||||
var wrapper = ShaderVariantCollectionHelper.Extract(svc);
|
|
||||||
string jsonContents = JsonUtility.ToJson(wrapper, true);
|
|
||||||
string savePath = _saveFilePath.Replace(".shadervariants", ".json");
|
|
||||||
File.WriteAllText(savePath, jsonContents);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 开始收集
|
/// 开始收集
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static void Run(string saveFilePath)
|
public static void Run(string saveFilePath, Action completedCallback)
|
||||||
{
|
{
|
||||||
if (_isStarted)
|
if (_isStarted)
|
||||||
return;
|
return;
|
||||||
@@ -64,8 +50,12 @@ namespace YooAsset.Editor
|
|||||||
saveFilePath = $"{saveFilePath}.shadervariants";
|
saveFilePath = $"{saveFilePath}.shadervariants";
|
||||||
if (Path.GetExtension(saveFilePath) != ".shadervariants")
|
if (Path.GetExtension(saveFilePath) != ".shadervariants")
|
||||||
throw new System.Exception("Shader variant file extension is invalid.");
|
throw new System.Exception("Shader variant file extension is invalid.");
|
||||||
|
|
||||||
|
// 注意:先删除再保存,否则ShaderVariantCollection内容将无法及时刷新
|
||||||
|
AssetDatabase.DeleteAsset(ShaderVariantCollectorSettingData.Setting.SavePath);
|
||||||
EditorTools.CreateFileDirectory(saveFilePath);
|
EditorTools.CreateFileDirectory(saveFilePath);
|
||||||
_saveFilePath = saveFilePath;
|
_saveFilePath = saveFilePath;
|
||||||
|
_completedCallback = completedCallback;
|
||||||
|
|
||||||
// 聚焦到游戏窗口
|
// 聚焦到游戏窗口
|
||||||
EditorTools.FocusUnityGameWindow();
|
EditorTools.FocusUnityGameWindow();
|
||||||
@@ -80,11 +70,10 @@ namespace YooAsset.Editor
|
|||||||
var materials = GetAllMaterials();
|
var materials = GetAllMaterials();
|
||||||
CollectVariants(materials);
|
CollectVariants(materials);
|
||||||
|
|
||||||
|
EditorApplication.update += EditorUpdate;
|
||||||
_isStarted = true;
|
_isStarted = true;
|
||||||
_elapsedTime.Reset();
|
_elapsedTime.Reset();
|
||||||
_elapsedTime.Start();
|
_elapsedTime.Start();
|
||||||
|
|
||||||
UnityEngine.Debug.LogWarning("已经启动着色器变种收集工作,该工具只支持在编辑器下人工操作!");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void CreateTemperScene()
|
private static void CreateTemperScene()
|
||||||
@@ -149,7 +138,7 @@ namespace YooAsset.Editor
|
|||||||
private static void CollectVariants(List<Material> materials)
|
private static void CollectVariants(List<Material> materials)
|
||||||
{
|
{
|
||||||
Camera camera = Camera.main;
|
Camera camera = Camera.main;
|
||||||
if(camera == null)
|
if (camera == null)
|
||||||
throw new System.Exception("Not found main camera.");
|
throw new System.Exception("Not found main camera.");
|
||||||
|
|
||||||
// 设置主相机
|
// 设置主相机
|
||||||
@@ -193,6 +182,21 @@ namespace YooAsset.Editor
|
|||||||
go.name = $"Sphere_{index}|{material.name}";
|
go.name = $"Sphere_{index}|{material.name}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void CreateReadme()
|
||||||
|
{
|
||||||
|
AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate);
|
||||||
|
|
||||||
|
ShaderVariantCollection svc = AssetDatabase.LoadAssetAtPath<ShaderVariantCollection>(_saveFilePath);
|
||||||
|
if (svc != null)
|
||||||
|
{
|
||||||
|
var wrapper = ShaderVariantCollectionHelper.Extract(svc);
|
||||||
|
string jsonContents = JsonUtility.ToJson(wrapper, true);
|
||||||
|
string savePath = _saveFilePath.Replace(".shadervariants", "_Readme.json");
|
||||||
|
File.WriteAllText(savePath, jsonContents);
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate);
|
||||||
|
}
|
||||||
private static void ClearCurrentShaderVariantCollection()
|
private static void ClearCurrentShaderVariantCollection()
|
||||||
{
|
{
|
||||||
EditorTools.InvokeNonPublicStaticMethod(typeof(ShaderUtil), "ClearCurrentShaderVariantCollection");
|
EditorTools.InvokeNonPublicStaticMethod(typeof(ShaderUtil), "ClearCurrentShaderVariantCollection");
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ namespace YooAsset.Editor
|
|||||||
EditorGUILayout.Space();
|
EditorGUILayout.Space();
|
||||||
if (GUILayout.Button("搜集变种", GUILayout.MaxWidth(80)))
|
if (GUILayout.Button("搜集变种", GUILayout.MaxWidth(80)))
|
||||||
{
|
{
|
||||||
ShaderVariantCollector.Run(ShaderVariantCollectorSettingData.Setting.SavePath);
|
ShaderVariantCollector.Run(ShaderVariantCollectorSettingData.Setting.SavePath, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查询
|
// 查询
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
"name": "YooAsset.Editor",
|
"name": "YooAsset.Editor",
|
||||||
"rootNamespace": "",
|
"rootNamespace": "",
|
||||||
"references": [
|
"references": [
|
||||||
"YooAsset"
|
"YooAsset",
|
||||||
|
"Unity.ScriptableBuildPipeline",
|
||||||
|
"Unity.ScriptableBuildPipeline.Editor"
|
||||||
],
|
],
|
||||||
"includePlatforms": [
|
"includePlatforms": [
|
||||||
"Editor"
|
"Editor"
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ namespace YooAsset
|
|||||||
private static readonly List<AssetBundleLoaderBase> _loaders = new List<AssetBundleLoaderBase>(1000);
|
private static readonly List<AssetBundleLoaderBase> _loaders = new List<AssetBundleLoaderBase>(1000);
|
||||||
private static readonly List<ProviderBase> _providers = new List<ProviderBase>(1000);
|
private static readonly List<ProviderBase> _providers = new List<ProviderBase>(1000);
|
||||||
private static readonly Dictionary<string, SceneOperationHandle> _sceneHandles = new Dictionary<string, SceneOperationHandle>(100);
|
private static readonly Dictionary<string, SceneOperationHandle> _sceneHandles = new Dictionary<string, SceneOperationHandle>(100);
|
||||||
|
private static long _sceneCreateCount = 0;
|
||||||
|
|
||||||
private static bool _simulationOnEditor;
|
private static bool _simulationOnEditor;
|
||||||
private static int _loadingMaxNumber;
|
private static int _loadingMaxNumber;
|
||||||
public static IDecryptionServices DecryptionServices { private set; get; }
|
public static IDecryptionServices DecryptionServices { private set; get; }
|
||||||
@@ -139,29 +140,25 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
{
|
{
|
||||||
YooLogger.Warning(assetInfo.Error);
|
|
||||||
CompletedProvider completedProvider = new CompletedProvider(assetInfo);
|
CompletedProvider completedProvider = new CompletedProvider(assetInfo);
|
||||||
|
completedProvider.SetCompleted();
|
||||||
return completedProvider.CreateHandle<SceneOperationHandle>();
|
return completedProvider.CreateHandle<SceneOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 注意:场景句柄永远保持唯一
|
|
||||||
string providerGUID = assetInfo.ProviderGUID;
|
|
||||||
if (_sceneHandles.ContainsKey(providerGUID))
|
|
||||||
return _sceneHandles[providerGUID];
|
|
||||||
|
|
||||||
// 如果加载的是主场景,则卸载所有缓存的场景
|
// 如果加载的是主场景,则卸载所有缓存的场景
|
||||||
if (sceneMode == LoadSceneMode.Single)
|
if (sceneMode == LoadSceneMode.Single)
|
||||||
{
|
{
|
||||||
UnloadAllScene();
|
UnloadAllScene();
|
||||||
}
|
}
|
||||||
|
|
||||||
ProviderBase provider = TryGetProvider(providerGUID);
|
// 注意:同一个场景的ProviderGUID每次加载都会变化
|
||||||
if (provider == null)
|
string providerGUID = $"{assetInfo.GUID}-{++_sceneCreateCount}";
|
||||||
|
ProviderBase provider;
|
||||||
{
|
{
|
||||||
if (_simulationOnEditor)
|
if (_simulationOnEditor)
|
||||||
provider = new DatabaseSceneProvider(assetInfo, sceneMode, activateOnLoad, priority);
|
provider = new DatabaseSceneProvider(providerGUID, assetInfo, sceneMode, activateOnLoad, priority);
|
||||||
else
|
else
|
||||||
provider = new BundledSceneProvider(assetInfo, sceneMode, activateOnLoad, priority);
|
provider = new BundledSceneProvider(providerGUID, assetInfo, sceneMode, activateOnLoad, priority);
|
||||||
provider.InitSpawnDebugInfo();
|
provider.InitSpawnDebugInfo();
|
||||||
_providers.Add(provider);
|
_providers.Add(provider);
|
||||||
}
|
}
|
||||||
@@ -178,18 +175,19 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
{
|
{
|
||||||
YooLogger.Warning(assetInfo.Error);
|
|
||||||
CompletedProvider completedProvider = new CompletedProvider(assetInfo);
|
CompletedProvider completedProvider = new CompletedProvider(assetInfo);
|
||||||
|
completedProvider.SetCompleted();
|
||||||
return completedProvider.CreateHandle<AssetOperationHandle>();
|
return completedProvider.CreateHandle<AssetOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
ProviderBase provider = TryGetProvider(assetInfo.ProviderGUID);
|
string providerGUID = assetInfo.GUID;
|
||||||
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
if (_simulationOnEditor)
|
if (_simulationOnEditor)
|
||||||
provider = new DatabaseAssetProvider(assetInfo);
|
provider = new DatabaseAssetProvider(providerGUID, assetInfo);
|
||||||
else
|
else
|
||||||
provider = new BundledAssetProvider(assetInfo);
|
provider = new BundledAssetProvider(providerGUID, assetInfo);
|
||||||
provider.InitSpawnDebugInfo();
|
provider.InitSpawnDebugInfo();
|
||||||
_providers.Add(provider);
|
_providers.Add(provider);
|
||||||
}
|
}
|
||||||
@@ -203,18 +201,19 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
{
|
{
|
||||||
YooLogger.Warning(assetInfo.Error);
|
|
||||||
CompletedProvider completedProvider = new CompletedProvider(assetInfo);
|
CompletedProvider completedProvider = new CompletedProvider(assetInfo);
|
||||||
|
completedProvider.SetCompleted();
|
||||||
return completedProvider.CreateHandle<SubAssetsOperationHandle>();
|
return completedProvider.CreateHandle<SubAssetsOperationHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
ProviderBase provider = TryGetProvider(assetInfo.ProviderGUID);
|
string providerGUID = assetInfo.GUID;
|
||||||
|
ProviderBase provider = TryGetProvider(providerGUID);
|
||||||
if (provider == null)
|
if (provider == null)
|
||||||
{
|
{
|
||||||
if (_simulationOnEditor)
|
if (_simulationOnEditor)
|
||||||
provider = new DatabaseSubAssetsProvider(assetInfo);
|
provider = new DatabaseSubAssetsProvider(providerGUID, assetInfo);
|
||||||
else
|
else
|
||||||
provider = new BundledSubAssetsProvider(assetInfo);
|
provider = new BundledSubAssetsProvider(providerGUID, assetInfo);
|
||||||
provider.InitSpawnDebugInfo();
|
provider.InitSpawnDebugInfo();
|
||||||
_providers.Add(provider);
|
_providers.Add(provider);
|
||||||
}
|
}
|
||||||
@@ -223,7 +222,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
internal static void UnloadSubScene(ProviderBase provider)
|
internal static void UnloadSubScene(ProviderBase provider)
|
||||||
{
|
{
|
||||||
string providerGUID = provider.MainAssetInfo.ProviderGUID;
|
string providerGUID = provider.ProviderGUID;
|
||||||
if (_sceneHandles.ContainsKey(providerGUID) == false)
|
if (_sceneHandles.ContainsKey(providerGUID) == false)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
@@ -233,12 +232,6 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 卸载未被使用的资源(包括场景)
|
// 卸载未被使用的资源(包括场景)
|
||||||
AssetSystem.UnloadUnusedAssets();
|
AssetSystem.UnloadUnusedAssets();
|
||||||
|
|
||||||
// 检验子场景是否销毁
|
|
||||||
if (provider.IsDestroyed == false)
|
|
||||||
{
|
|
||||||
throw new Exception("Should never get here !");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
internal static void UnloadAllScene()
|
internal static void UnloadAllScene()
|
||||||
{
|
{
|
||||||
@@ -251,16 +244,6 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 卸载未被使用的资源(包括场景)
|
// 卸载未被使用的资源(包括场景)
|
||||||
AssetSystem.UnloadUnusedAssets();
|
AssetSystem.UnloadUnusedAssets();
|
||||||
|
|
||||||
// 检验所有场景是否销毁
|
|
||||||
foreach (var provider in _providers)
|
|
||||||
{
|
|
||||||
if (provider.IsSceneProvider())
|
|
||||||
{
|
|
||||||
if (provider.IsDestroyed == false)
|
|
||||||
throw new Exception("Should never get here !");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static AssetBundleLoaderBase CreateOwnerAssetBundleLoader(AssetInfo assetInfo)
|
internal static AssetBundleLoaderBase CreateOwnerAssetBundleLoader(AssetInfo assetInfo)
|
||||||
@@ -324,7 +307,7 @@ namespace YooAsset
|
|||||||
for (int i = 0; i < _providers.Count; i++)
|
for (int i = 0; i < _providers.Count; i++)
|
||||||
{
|
{
|
||||||
ProviderBase temp = _providers[i];
|
ProviderBase temp = _providers[i];
|
||||||
if (temp.MainAssetInfo.ProviderGUID.Equals(providerGUID))
|
if (temp.ProviderGUID.Equals(providerGUID))
|
||||||
{
|
{
|
||||||
provider = temp;
|
provider = temp;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -117,7 +117,11 @@ namespace YooAsset
|
|||||||
if (AssetSystem.DecryptionServices == null)
|
if (AssetSystem.DecryptionServices == null)
|
||||||
throw new Exception($"{nameof(AssetBundleFileLoader)} need {nameof(IDecryptionServices)} : {MainBundleInfo.BundleName}");
|
throw new Exception($"{nameof(AssetBundleFileLoader)} need {nameof(IDecryptionServices)} : {MainBundleInfo.BundleName}");
|
||||||
|
|
||||||
ulong offset = AssetSystem.DecryptionServices.GetFileOffset();
|
DecryptionFileInfo fileInfo = new DecryptionFileInfo();
|
||||||
|
fileInfo.BundleName = MainBundleInfo.BundleName;
|
||||||
|
fileInfo.BundleHash = MainBundleInfo.Hash;
|
||||||
|
fileInfo.BundleCRC = MainBundleInfo.CRC;
|
||||||
|
ulong offset = AssetSystem.DecryptionServices.GetFileOffset(fileInfo);
|
||||||
if (_isWaitForAsyncComplete)
|
if (_isWaitForAsyncComplete)
|
||||||
CacheBundle = AssetBundle.LoadFromFile(_fileLoadPath, 0, offset);
|
CacheBundle = AssetBundle.LoadFromFile(_fileLoadPath, 0, offset);
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -130,14 +130,14 @@ namespace YooAsset
|
|||||||
if (IsDone() == false)
|
if (IsDone() == false)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// 注意:必须等待所有Provider可以销毁的时候,才可以释放Bundle文件。
|
// 条件1:必须等待所有Provider可以销毁
|
||||||
foreach (var provider in _providers)
|
foreach (var provider in _providers)
|
||||||
{
|
{
|
||||||
if (provider.CanDestroy() == false)
|
if (provider.CanDestroy() == false)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 除了自己没有其它引用
|
// 条件2:除了自己没有其它引用
|
||||||
if (RefCount > _providers.Count)
|
if (RefCount > _providers.Count)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
@@ -61,8 +61,7 @@ namespace YooAsset
|
|||||||
// 1. 从服务器或缓存中获取AssetBundle文件
|
// 1. 从服务器或缓存中获取AssetBundle文件
|
||||||
if (_steps == ESteps.LoadFile)
|
if (_steps == ESteps.LoadFile)
|
||||||
{
|
{
|
||||||
string hash = StringUtility.RemoveExtension(MainBundleInfo.Hash);
|
_webRequest = UnityWebRequestAssetBundle.GetAssetBundle(_webURL, Hash128.Parse(MainBundleInfo.Hash));
|
||||||
_webRequest = UnityWebRequestAssetBundle.GetAssetBundle(_webURL, Hash128.Parse(hash));
|
|
||||||
_webRequest.SendWebRequest();
|
_webRequest.SendWebRequest();
|
||||||
_steps = ESteps.CheckFile;
|
_steps = ESteps.CheckFile;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (DownloadSystem.CheckContentIntegrity(GetCachePath(), _bundleInfo.SizeBytes, _bundleInfo.CRC))
|
if (DownloadSystem.CheckContentIntegrity(GetCachePath(), _bundleInfo.SizeBytes, _bundleInfo.CRC))
|
||||||
{
|
{
|
||||||
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.BundleName);
|
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.FileName);
|
||||||
_steps = ESteps.CheckAndCopyFile;
|
_steps = ESteps.CheckAndCopyFile;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -423,7 +423,7 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (DownloadSystem.CheckContentIntegrity(GetCachePath(), _bundleInfo.SizeBytes, _bundleInfo.CRC))
|
if (DownloadSystem.CheckContentIntegrity(GetCachePath(), _bundleInfo.SizeBytes, _bundleInfo.CRC))
|
||||||
{
|
{
|
||||||
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.BundleName);
|
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.FileName);
|
||||||
_steps = ESteps.CheckAndCopyFile;
|
_steps = ESteps.CheckAndCopyFile;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BundledAssetProvider(AssetInfo assetInfo) : base(assetInfo)
|
public BundledAssetProvider(string providerGUID, AssetInfo assetInfo) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public override void Update()
|
public override void Update()
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace YooAsset
|
|||||||
protected AssetBundleLoaderBase OwnerBundle { private set; get; }
|
protected AssetBundleLoaderBase OwnerBundle { private set; get; }
|
||||||
protected DependAssetBundleGroup DependBundleGroup { private set; get; }
|
protected DependAssetBundleGroup DependBundleGroup { private set; get; }
|
||||||
|
|
||||||
public BundledProvider(AssetInfo assetInfo) : base(assetInfo)
|
public BundledProvider(string providerGUID, AssetInfo assetInfo) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
OwnerBundle = AssetSystem.CreateOwnerAssetBundleLoader(assetInfo);
|
OwnerBundle = AssetSystem.CreateOwnerAssetBundleLoader(assetInfo);
|
||||||
OwnerBundle.Reference();
|
OwnerBundle.Reference();
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BundledSceneProvider(AssetInfo assetInfo, LoadSceneMode sceneMode, bool activateOnLoad, int priority) : base(assetInfo)
|
public BundledSceneProvider(string providerGUID, AssetInfo assetInfo, LoadSceneMode sceneMode, bool activateOnLoad, int priority) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
SceneMode = sceneMode;
|
SceneMode = sceneMode;
|
||||||
_sceneName = Path.GetFileNameWithoutExtension(assetInfo.AssetPath);
|
_sceneName = Path.GetFileNameWithoutExtension(assetInfo.AssetPath);
|
||||||
@@ -70,11 +70,13 @@ namespace YooAsset
|
|||||||
// 2. 加载场景
|
// 2. 加载场景
|
||||||
if (Status == EStatus.Loading)
|
if (Status == EStatus.Loading)
|
||||||
{
|
{
|
||||||
_asyncOp = SceneManager.LoadSceneAsync(_sceneName, SceneMode);
|
// 注意:如果场景不存在则返回NULL
|
||||||
|
_asyncOp = SceneManager.LoadSceneAsync(MainAssetInfo.AssetPath, SceneMode);
|
||||||
if (_asyncOp != null)
|
if (_asyncOp != null)
|
||||||
{
|
{
|
||||||
_asyncOp.allowSceneActivation = true;
|
_asyncOp.allowSceneActivation = true;
|
||||||
_asyncOp.priority = _priority;
|
_asyncOp.priority = _priority;
|
||||||
|
SceneObject = SceneManager.GetSceneAt(SceneManager.sceneCount - 1);
|
||||||
Status = EStatus.Checking;
|
Status = EStatus.Checking;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -91,7 +93,6 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (_asyncOp.isDone)
|
if (_asyncOp.isDone)
|
||||||
{
|
{
|
||||||
SceneObject = SceneManager.GetSceneByName(_sceneName);
|
|
||||||
if (SceneObject.IsValid() && _activateOnLoad)
|
if (SceneObject.IsValid() && _activateOnLoad)
|
||||||
SceneManager.SetActiveScene(SceneObject);
|
SceneManager.SetActiveScene(SceneObject);
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BundledSubAssetsProvider(AssetInfo assetInfo) : base(assetInfo)
|
public BundledSubAssetsProvider(string providerGUID, AssetInfo assetInfo) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public override void Update()
|
public override void Update()
|
||||||
|
|||||||
@@ -14,14 +14,14 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public CompletedProvider(AssetInfo assetInfo) : base(assetInfo)
|
public CompletedProvider(AssetInfo assetInfo) : base(string.Empty, assetInfo)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public override void Update()
|
public override void Update()
|
||||||
{
|
{
|
||||||
if (IsDone)
|
}
|
||||||
return;
|
public void SetCompleted()
|
||||||
|
{
|
||||||
if (Status == EStatus.None)
|
if (Status == EStatus.None)
|
||||||
{
|
{
|
||||||
Status = EStatus.Fail;
|
Status = EStatus.Fail;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public DatabaseAssetProvider(AssetInfo assetInfo) : base(assetInfo)
|
public DatabaseAssetProvider(string providerGUID, AssetInfo assetInfo) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public override void Update()
|
public override void Update()
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public DatabaseSceneProvider(AssetInfo assetInfo, LoadSceneMode sceneMode, bool activateOnLoad, int priority) : base(assetInfo)
|
public DatabaseSceneProvider(string providerGUID, AssetInfo assetInfo, LoadSceneMode sceneMode, bool activateOnLoad, int priority) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
SceneMode = sceneMode;
|
SceneMode = sceneMode;
|
||||||
_activateOnLoad = activateOnLoad;
|
_activateOnLoad = activateOnLoad;
|
||||||
@@ -46,6 +46,7 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
_asyncOp.allowSceneActivation = true;
|
_asyncOp.allowSceneActivation = true;
|
||||||
_asyncOp.priority = _priority;
|
_asyncOp.priority = _priority;
|
||||||
|
SceneObject = SceneManager.GetSceneAt(SceneManager.sceneCount - 1);
|
||||||
Status = EStatus.Checking;
|
Status = EStatus.Checking;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -61,8 +62,7 @@ namespace YooAsset
|
|||||||
if (Status == EStatus.Checking)
|
if (Status == EStatus.Checking)
|
||||||
{
|
{
|
||||||
if (_asyncOp.isDone)
|
if (_asyncOp.isDone)
|
||||||
{
|
{
|
||||||
SceneObject = SceneManager.GetSceneAt(SceneManager.sceneCount - 1);
|
|
||||||
if (SceneObject.IsValid() && _activateOnLoad)
|
if (SceneObject.IsValid() && _activateOnLoad)
|
||||||
SceneManager.SetActiveScene(SceneObject);
|
SceneManager.SetActiveScene(SceneObject);
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public DatabaseSubAssetsProvider(AssetInfo assetInfo) : base(assetInfo)
|
public DatabaseSubAssetsProvider(string providerGUID, AssetInfo assetInfo) : base(providerGUID, assetInfo)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
public override void Update()
|
public override void Update()
|
||||||
|
|||||||
@@ -17,6 +17,11 @@ namespace YooAsset
|
|||||||
Fail,
|
Fail,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 资源提供者唯一标识符
|
||||||
|
/// </summary>
|
||||||
|
public string ProviderGUID { private set; get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源信息
|
/// 资源信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -85,8 +90,9 @@ namespace YooAsset
|
|||||||
private readonly List<OperationHandleBase> _handles = new List<OperationHandleBase>();
|
private readonly List<OperationHandleBase> _handles = new List<OperationHandleBase>();
|
||||||
|
|
||||||
|
|
||||||
public ProviderBase(AssetInfo assetInfo)
|
public ProviderBase(string providerGUID, AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
|
ProviderGUID = providerGUID;
|
||||||
MainAssetInfo = assetInfo;
|
MainAssetInfo = assetInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -128,7 +134,6 @@ namespace YooAsset
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建操作句柄
|
/// 创建操作句柄
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
|
||||||
public T CreateHandle<T>() where T : OperationHandleBase
|
public T CreateHandle<T>() where T : OperationHandleBase
|
||||||
{
|
{
|
||||||
// 引用计数增加
|
// 引用计数增加
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 创建新的下载器
|
// 创建新的下载器
|
||||||
{
|
{
|
||||||
YooLogger.Log($"Beginning to download file : {bundleInfo.BundleName} URL : {bundleInfo.RemoteMainURL}");
|
YooLogger.Log($"Beginning to download file : {bundleInfo.FileName} URL : {bundleInfo.RemoteMainURL}");
|
||||||
FileUtility.CreateFileDirectory(bundleInfo.GetCacheLoadPath());
|
FileUtility.CreateFileDirectory(bundleInfo.GetCacheLoadPath());
|
||||||
DownloaderBase newDownloader;
|
DownloaderBase newDownloader;
|
||||||
if (bundleInfo.SizeBytes >= _breakpointResumeFileSize)
|
if (bundleInfo.SizeBytes >= _breakpointResumeFileSize)
|
||||||
@@ -117,16 +117,16 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (_cachedHashList.ContainsKey(hash))
|
if (_cachedHashList.ContainsKey(hash))
|
||||||
{
|
{
|
||||||
string filePath = SandboxHelper.MakeCacheFilePath(hash);
|
string fileName = _cachedHashList[hash];
|
||||||
|
string filePath = SandboxHelper.MakeCacheFilePath(fileName);
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
string bundleName = _cachedHashList[hash];
|
|
||||||
_cachedHashList.Remove(hash);
|
_cachedHashList.Remove(hash);
|
||||||
YooLogger.Error($"Cache file is missing : {bundleName} Hash : {hash}");
|
YooLogger.Error($"Cache file is missing : {fileName}");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -139,12 +139,12 @@ namespace YooAsset
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 缓存验证过的文件
|
/// 缓存验证过的文件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static void CacheVerifyFile(string hash, string bundleName)
|
public static void CacheVerifyFile(string hash, string fileName)
|
||||||
{
|
{
|
||||||
if (_cachedHashList.ContainsKey(hash) == false)
|
if (_cachedHashList.ContainsKey(hash) == false)
|
||||||
{
|
{
|
||||||
YooLogger.Log($"Cache verify file : {bundleName} Hash : {hash}");
|
YooLogger.Log($"Cache verify file : {fileName}");
|
||||||
_cachedHashList.Add(hash, bundleName);
|
_cachedHashList.Add(hash, fileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -80,8 +80,7 @@ namespace YooAsset
|
|||||||
// 检查文件完整性
|
// 检查文件完整性
|
||||||
if (hasError == false)
|
if (hasError == false)
|
||||||
{
|
{
|
||||||
// 注意:如果文件验证失败需要删除文件
|
// 注意:如果文件验证失败需要删除文件
|
||||||
|
|
||||||
if (DownloadSystem.CheckContentIntegrity(_bundleInfo.GetCacheLoadPath(), _bundleInfo.SizeBytes, _bundleInfo.CRC) == false)
|
if (DownloadSystem.CheckContentIntegrity(_bundleInfo.GetCacheLoadPath(), _bundleInfo.SizeBytes, _bundleInfo.CRC) == false)
|
||||||
{
|
{
|
||||||
hasError = true;
|
hasError = true;
|
||||||
@@ -92,7 +91,7 @@ namespace YooAsset
|
|||||||
if (hasError == false)
|
if (hasError == false)
|
||||||
{
|
{
|
||||||
_steps = ESteps.Succeed;
|
_steps = ESteps.Succeed;
|
||||||
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.BundleName);
|
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.FileName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ namespace YooAsset
|
|||||||
private bool _running = true;
|
private bool _running = true;
|
||||||
private string _url;
|
private string _url;
|
||||||
private string _savePath;
|
private string _savePath;
|
||||||
private string _fileHash;
|
private string _fileName;
|
||||||
private string _fileCRC;
|
private string _fileCRC;
|
||||||
private long _fileSize;
|
private long _fileSize;
|
||||||
private int _timeout;
|
private int _timeout;
|
||||||
@@ -50,11 +50,11 @@ namespace YooAsset
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 开始下载
|
/// 开始下载
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Run(string url, string savePath, string fileHash, string fileCRC, long fileSize, int timeout)
|
public void Run(string url, string savePath, string fileName, string fileCRC, long fileSize, int timeout)
|
||||||
{
|
{
|
||||||
_url = url;
|
_url = url;
|
||||||
_savePath = savePath;
|
_savePath = savePath;
|
||||||
_fileHash = fileHash;
|
_fileName = fileName;
|
||||||
_fileCRC = fileCRC;
|
_fileCRC = fileCRC;
|
||||||
_fileSize = fileSize;
|
_fileSize = fileSize;
|
||||||
_timeout = timeout;
|
_timeout = timeout;
|
||||||
@@ -159,14 +159,14 @@ namespace YooAsset
|
|||||||
bool verfiyResult = DownloadSystem.CheckContentIntegrity(_savePath, _fileSize, _fileCRC);
|
bool verfiyResult = DownloadSystem.CheckContentIntegrity(_savePath, _fileSize, _fileCRC);
|
||||||
if (verfiyResult == false)
|
if (verfiyResult == false)
|
||||||
{
|
{
|
||||||
Error = $"Verify download content failed : {_fileHash}";
|
Error = $"Verify download content failed : {_fileName}";
|
||||||
if (File.Exists(_savePath))
|
if (File.Exists(_savePath))
|
||||||
File.Delete(_savePath);
|
File.Delete(_savePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Error = $"Download content is incomplete : {_fileHash}";
|
Error = $"Download content is incomplete : {_fileName}";
|
||||||
}
|
}
|
||||||
|
|
||||||
IsDone = true;
|
IsDone = true;
|
||||||
@@ -197,7 +197,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
_requestURL = GetRequestURL();
|
_requestURL = GetRequestURL();
|
||||||
_threadDownloader = new ThreadDownloader();
|
_threadDownloader = new ThreadDownloader();
|
||||||
_threadDownloader.Run(_requestURL, _bundleInfo.GetCacheLoadPath(), _bundleInfo.Hash, _bundleInfo.CRC, _bundleInfo.SizeBytes, _timeout);
|
_threadDownloader.Run(_requestURL, _bundleInfo.GetCacheLoadPath(), _bundleInfo.FileName, _bundleInfo.CRC, _bundleInfo.SizeBytes, _timeout);
|
||||||
_steps = ESteps.CheckDownload;
|
_steps = ESteps.CheckDownload;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.BundleName);
|
DownloadSystem.CacheVerifyFile(_bundleInfo.Hash, _bundleInfo.FileName);
|
||||||
_steps = ESteps.Succeed;
|
_steps = ESteps.Succeed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ namespace YooAsset
|
|||||||
private string _providerGUID;
|
private string _providerGUID;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源提供者唯一标识符
|
/// 唯一标识符
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal string ProviderGUID
|
internal string GUID
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ namespace YooAsset
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string BundleName { private set; get; }
|
public string BundleName { private set; get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件名称
|
||||||
|
/// </summary>
|
||||||
|
public string FileName { private set; get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 远端下载地址
|
/// 远端下载地址
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -51,7 +56,7 @@ namespace YooAsset
|
|||||||
return _patchBundle.Hash;
|
return _patchBundle.Hash;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 校验的CRC
|
/// 校验的CRC
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -128,6 +133,7 @@ namespace YooAsset
|
|||||||
_patchBundle = patchBundle;
|
_patchBundle = patchBundle;
|
||||||
LoadMode = loadMode;
|
LoadMode = loadMode;
|
||||||
BundleName = patchBundle.BundleName;
|
BundleName = patchBundle.BundleName;
|
||||||
|
FileName = patchBundle.FileName;
|
||||||
RemoteMainURL = mainURL;
|
RemoteMainURL = mainURL;
|
||||||
RemoteFallbackURL = fallbackURL;
|
RemoteFallbackURL = fallbackURL;
|
||||||
EditorAssetPath = string.Empty;
|
EditorAssetPath = string.Empty;
|
||||||
@@ -137,6 +143,7 @@ namespace YooAsset
|
|||||||
_patchBundle = patchBundle;
|
_patchBundle = patchBundle;
|
||||||
LoadMode = loadMode;
|
LoadMode = loadMode;
|
||||||
BundleName = patchBundle.BundleName;
|
BundleName = patchBundle.BundleName;
|
||||||
|
FileName = patchBundle.FileName;
|
||||||
RemoteMainURL = string.Empty;
|
RemoteMainURL = string.Empty;
|
||||||
RemoteFallbackURL = string.Empty;
|
RemoteFallbackURL = string.Empty;
|
||||||
EditorAssetPath = editorAssetPath;
|
EditorAssetPath = editorAssetPath;
|
||||||
@@ -146,6 +153,7 @@ namespace YooAsset
|
|||||||
_patchBundle = patchBundle;
|
_patchBundle = patchBundle;
|
||||||
LoadMode = loadMode;
|
LoadMode = loadMode;
|
||||||
BundleName = patchBundle.BundleName;
|
BundleName = patchBundle.BundleName;
|
||||||
|
FileName = patchBundle.FileName;
|
||||||
RemoteMainURL = string.Empty;
|
RemoteMainURL = string.Empty;
|
||||||
RemoteFallbackURL = string.Empty;
|
RemoteFallbackURL = string.Empty;
|
||||||
EditorAssetPath = string.Empty;
|
EditorAssetPath = string.Empty;
|
||||||
@@ -160,7 +168,7 @@ namespace YooAsset
|
|||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(_streamingPath))
|
if (string.IsNullOrEmpty(_streamingPath))
|
||||||
_streamingPath = PathHelper.MakeStreamingLoadPath(_patchBundle.Hash);
|
_streamingPath = PathHelper.MakeStreamingLoadPath(_patchBundle.FileName);
|
||||||
return _streamingPath;
|
return _streamingPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -173,7 +181,7 @@ namespace YooAsset
|
|||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(_cachePath))
|
if (string.IsNullOrEmpty(_cachePath))
|
||||||
_cachePath = SandboxHelper.MakeCacheFilePath(_patchBundle.Hash);
|
_cachePath = SandboxHelper.MakeCacheFilePath(_patchBundle.FileName);
|
||||||
return _cachePath;
|
return _cachePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 忽略APP资源
|
// 忽略APP资源
|
||||||
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
||||||
if (appPatchManifest.Bundles.TryGetValue(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
if (appPatchManifest.TryGetPatchBundle(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
||||||
{
|
{
|
||||||
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
||||||
continue;
|
continue;
|
||||||
@@ -391,7 +391,7 @@ namespace YooAsset
|
|||||||
// 注意:在弱联网模式下,我们需要验证指定资源版本的所有资源完整性
|
// 注意:在弱联网模式下,我们需要验证指定资源版本的所有资源完整性
|
||||||
if (weaklyUpdate)
|
if (weaklyUpdate)
|
||||||
{
|
{
|
||||||
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.Hash);
|
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.FileName);
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
_waitingList.Add(patchBundle);
|
_waitingList.Add(patchBundle);
|
||||||
else
|
else
|
||||||
@@ -399,7 +399,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.Hash);
|
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.FileName);
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
_waitingList.Add(patchBundle);
|
_waitingList.Add(patchBundle);
|
||||||
}
|
}
|
||||||
@@ -451,7 +451,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
private bool RunThread(PatchBundle patchBundle)
|
private bool RunThread(PatchBundle patchBundle)
|
||||||
{
|
{
|
||||||
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.Hash);
|
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.FileName);
|
||||||
ThreadInfo info = new ThreadInfo(filePath, patchBundle);
|
ThreadInfo info = new ThreadInfo(filePath, patchBundle);
|
||||||
return ThreadPool.QueueUserWorkItem(new WaitCallback(VerifyInThread), info);
|
return ThreadPool.QueueUserWorkItem(new WaitCallback(VerifyInThread), info);
|
||||||
}
|
}
|
||||||
@@ -467,14 +467,18 @@ namespace YooAsset
|
|||||||
if (info.Result)
|
if (info.Result)
|
||||||
{
|
{
|
||||||
VerifySuccessCount++;
|
VerifySuccessCount++;
|
||||||
DownloadSystem.CacheVerifyFile(info.Bundle.Hash, info.Bundle.BundleName);
|
DownloadSystem.CacheVerifyFile(info.Bundle.Hash, info.Bundle.FileName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VerifyFailCount++;
|
VerifyFailCount++;
|
||||||
|
|
||||||
|
// NOTE:不期望删除断点续传的资源文件
|
||||||
|
/*
|
||||||
YooLogger.Warning($"Failed to verify file : {info.FilePath}");
|
YooLogger.Warning($"Failed to verify file : {info.FilePath}");
|
||||||
if (File.Exists(info.FilePath))
|
if (File.Exists(info.FilePath))
|
||||||
File.Delete(info.FilePath);
|
File.Delete(info.FilePath);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
_verifyingList.Remove(info.Bundle);
|
_verifyingList.Remove(info.Bundle);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 忽略APP资源
|
// 忽略APP资源
|
||||||
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
||||||
if (_impl.AppPatchManifest.Bundles.TryGetValue(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
if (_impl.AppPatchManifest.TryGetPatchBundle(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
||||||
{
|
{
|
||||||
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
||||||
continue;
|
continue;
|
||||||
@@ -211,7 +211,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 注意:通过比对文件大小做快速的文件校验!
|
// 注意:通过比对文件大小做快速的文件校验!
|
||||||
// 注意:在初始化的时候会去做最终校验!
|
// 注意:在初始化的时候会去做最终校验!
|
||||||
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.Hash);
|
string filePath = SandboxHelper.MakeCacheFilePath(patchBundle.FileName);
|
||||||
if (File.Exists(filePath))
|
if (File.Exists(filePath))
|
||||||
{
|
{
|
||||||
long fileSize = FileUtility.GetFileSize(filePath);
|
long fileSize = FileUtility.GetFileSize(filePath);
|
||||||
|
|||||||
@@ -52,6 +52,10 @@ namespace YooAsset
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsRawFile { private set; get; }
|
public bool IsRawFile { private set; get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件名称
|
||||||
|
/// </summary>
|
||||||
|
public string FileName { private set; get; }
|
||||||
|
|
||||||
|
|
||||||
public PatchBundle(string bundleName, string hash, string crc, long sizeBytes, string[] tags)
|
public PatchBundle(string bundleName, string hash, string crc, long sizeBytes, string[] tags)
|
||||||
@@ -90,6 +94,38 @@ namespace YooAsset
|
|||||||
IsRawFile = value.Test(2);
|
IsRawFile = value.Test(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 解析文件名称
|
||||||
|
/// </summary>
|
||||||
|
public void ParseFileName(int nameStype)
|
||||||
|
{
|
||||||
|
if (nameStype == 1)
|
||||||
|
{
|
||||||
|
FileName = Hash;
|
||||||
|
}
|
||||||
|
else if (nameStype == 2)
|
||||||
|
{
|
||||||
|
string tempFileExtension = System.IO.Path.GetExtension(BundleName);
|
||||||
|
FileName = $"{Hash}{tempFileExtension}";
|
||||||
|
}
|
||||||
|
else if (nameStype == 3)
|
||||||
|
{
|
||||||
|
string tempFileExtension = System.IO.Path.GetExtension(BundleName);
|
||||||
|
string tempBundleName = BundleName.Replace('/', '_').Replace(tempFileExtension, "");
|
||||||
|
FileName = $"{tempBundleName}_{Hash}";
|
||||||
|
}
|
||||||
|
else if (nameStype == 4)
|
||||||
|
{
|
||||||
|
string tempFileExtension = System.IO.Path.GetExtension(BundleName);
|
||||||
|
string tempBundleName = BundleName.Replace('/', '_').Replace(tempFileExtension, "");
|
||||||
|
FileName = $"{tempBundleName}_{Hash}{tempFileExtension}";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 是否包含Tag
|
/// 是否包含Tag
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -13,15 +13,25 @@ namespace YooAsset
|
|||||||
internal class PatchManifest
|
internal class PatchManifest
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 启用可寻址资源定位
|
/// 文件版本
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool EnableAddressable;
|
public string FileVersion;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源版本号
|
/// 资源版本号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int ResourceVersion;
|
public int ResourceVersion;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 启用可寻址资源定位
|
||||||
|
/// </summary>
|
||||||
|
public bool EnableAddressable;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 文件名称样式
|
||||||
|
/// </summary>
|
||||||
|
public int OutputNameStyle;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 内置资源的标签列表(首包资源)
|
/// 内置资源的标签列表(首包资源)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -42,13 +52,13 @@ namespace YooAsset
|
|||||||
/// 资源包集合(提供BundleName获取PatchBundle)
|
/// 资源包集合(提供BundleName获取PatchBundle)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[NonSerialized]
|
[NonSerialized]
|
||||||
public readonly Dictionary<string, PatchBundle> Bundles = new Dictionary<string, PatchBundle>();
|
public readonly Dictionary<string, PatchBundle> BundleDic = new Dictionary<string, PatchBundle>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源映射集合(提供AssetPath获取PatchAsset)
|
/// 资源映射集合(提供AssetPath获取PatchAsset)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[NonSerialized]
|
[NonSerialized]
|
||||||
public readonly Dictionary<string, PatchAsset> Assets = new Dictionary<string, PatchAsset>();
|
public readonly Dictionary<string, PatchAsset> AssetDic = new Dictionary<string, PatchAsset>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 资源路径映射集合
|
/// 资源路径映射集合
|
||||||
@@ -117,7 +127,7 @@ namespace YooAsset
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string MappingToAssetPath(string location)
|
public string MappingToAssetPath(string location)
|
||||||
{
|
{
|
||||||
if(string.IsNullOrEmpty(location))
|
if (string.IsNullOrEmpty(location))
|
||||||
{
|
{
|
||||||
YooLogger.Error("Failed to mapping location to asset path, The location is null or empty.");
|
YooLogger.Error("Failed to mapping location to asset path, The location is null or empty.");
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
@@ -138,18 +148,18 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取资源包名称
|
/// 获取主资源包
|
||||||
/// 注意:传入的资源路径一定合法有效!
|
/// 注意:传入的资源路径一定合法有效!
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string GetBundleName(string assetPath)
|
public PatchBundle GetMainPatchBundle(string assetPath)
|
||||||
{
|
{
|
||||||
if (Assets.TryGetValue(assetPath, out PatchAsset patchAsset))
|
if (AssetDic.TryGetValue(assetPath, out PatchAsset patchAsset))
|
||||||
{
|
{
|
||||||
int bundleID = patchAsset.BundleID;
|
int bundleID = patchAsset.BundleID;
|
||||||
if (bundleID >= 0 && bundleID < BundleList.Count)
|
if (bundleID >= 0 && bundleID < BundleList.Count)
|
||||||
{
|
{
|
||||||
var patchBundle = BundleList[bundleID];
|
var patchBundle = BundleList[bundleID];
|
||||||
return patchBundle.BundleName;
|
return patchBundle;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -166,17 +176,17 @@ namespace YooAsset
|
|||||||
/// 获取资源依赖列表
|
/// 获取资源依赖列表
|
||||||
/// 注意:传入的资源路径一定合法有效!
|
/// 注意:传入的资源路径一定合法有效!
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string[] GetAllDependencies(string assetPath)
|
public PatchBundle[] GetAllDependencies(string assetPath)
|
||||||
{
|
{
|
||||||
if (Assets.TryGetValue(assetPath, out PatchAsset patchAsset))
|
if (AssetDic.TryGetValue(assetPath, out PatchAsset patchAsset))
|
||||||
{
|
{
|
||||||
List<string> result = new List<string>(patchAsset.DependIDs.Length);
|
List<PatchBundle> result = new List<PatchBundle>(patchAsset.DependIDs.Length);
|
||||||
foreach (var dependID in patchAsset.DependIDs)
|
foreach (var dependID in patchAsset.DependIDs)
|
||||||
{
|
{
|
||||||
if (dependID >= 0 && dependID < BundleList.Count)
|
if (dependID >= 0 && dependID < BundleList.Count)
|
||||||
{
|
{
|
||||||
var dependPatchBundle = BundleList[dependID];
|
var dependPatchBundle = BundleList[dependID];
|
||||||
result.Add(dependPatchBundle.BundleName);
|
result.Add(dependPatchBundle);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -191,6 +201,22 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 尝试获取补丁资源
|
||||||
|
/// </summary>
|
||||||
|
public bool TryGetPatchAsset(string assetPath, out PatchAsset result)
|
||||||
|
{
|
||||||
|
return AssetDic.TryGetValue(assetPath, out result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 尝试获取补丁资源包
|
||||||
|
/// </summary>
|
||||||
|
public bool TryGetPatchBundle(string bundleName, out PatchBundle result)
|
||||||
|
{
|
||||||
|
return BundleDic.TryGetValue(bundleName, out result);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 序列化
|
/// 序列化
|
||||||
@@ -208,11 +234,16 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
PatchManifest patchManifest = JsonUtility.FromJson<PatchManifest>(jsonData);
|
PatchManifest patchManifest = JsonUtility.FromJson<PatchManifest>(jsonData);
|
||||||
|
|
||||||
|
// 检测文件版本
|
||||||
|
if (patchManifest.FileVersion != YooAssetSettings.PatchManifestFileVersion)
|
||||||
|
throw new Exception($"The manifest file version are not compatible : {patchManifest.FileVersion} != {YooAssetSettings.PatchManifestFileVersion}");
|
||||||
|
|
||||||
// BundleList
|
// BundleList
|
||||||
foreach (var patchBundle in patchManifest.BundleList)
|
foreach (var patchBundle in patchManifest.BundleList)
|
||||||
{
|
{
|
||||||
patchBundle.ParseFlagsValue();
|
patchBundle.ParseFlagsValue();
|
||||||
patchManifest.Bundles.Add(patchBundle.BundleName, patchBundle);
|
patchBundle.ParseFileName(patchManifest.OutputNameStyle);
|
||||||
|
patchManifest.BundleDic.Add(patchBundle.BundleName, patchBundle);
|
||||||
}
|
}
|
||||||
|
|
||||||
// AssetList
|
// AssetList
|
||||||
@@ -220,10 +251,10 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
// 注意:我们不允许原始路径存在重名
|
// 注意:我们不允许原始路径存在重名
|
||||||
string assetPath = patchAsset.AssetPath;
|
string assetPath = patchAsset.AssetPath;
|
||||||
if (patchManifest.Assets.ContainsKey(assetPath))
|
if (patchManifest.AssetDic.ContainsKey(assetPath))
|
||||||
throw new Exception($"AssetPath have existed : {assetPath}");
|
throw new Exception($"AssetPath have existed : {assetPath}");
|
||||||
else
|
else
|
||||||
patchManifest.Assets.Add(assetPath, patchAsset);
|
patchManifest.AssetDic.Add(assetPath, patchAsset);
|
||||||
}
|
}
|
||||||
|
|
||||||
return patchManifest;
|
return patchManifest;
|
||||||
|
|||||||
@@ -40,19 +40,13 @@ namespace YooAsset
|
|||||||
#region IBundleServices接口
|
#region IBundleServices接口
|
||||||
BundleInfo IBundleServices.GetBundleInfo(AssetInfo assetInfo)
|
BundleInfo IBundleServices.GetBundleInfo(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
if(assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
string bundleName = _simulatePatchManifest.GetBundleName(assetInfo.AssetPath);
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
if (_simulatePatchManifest.Bundles.TryGetValue(bundleName, out PatchBundle patchBundle))
|
var patchBundle = _simulatePatchManifest.GetMainPatchBundle(assetInfo.AssetPath);
|
||||||
{
|
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromEditor, assetInfo.AssetPath);
|
||||||
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromEditor, assetInfo.AssetPath);
|
return bundleInfo;
|
||||||
return bundleInfo;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
throw new Exception("Should never get here !");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
BundleInfo[] IBundleServices.GetAllDependBundleInfos(AssetInfo assetInfo)
|
BundleInfo[] IBundleServices.GetAllDependBundleInfos(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
@@ -64,7 +58,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
PatchAsset IBundleServices.TryGetPatchAsset(string assetPath)
|
PatchAsset IBundleServices.TryGetPatchAsset(string assetPath)
|
||||||
{
|
{
|
||||||
if (_simulatePatchManifest.Assets.TryGetValue(assetPath, out PatchAsset patchAsset))
|
if (_simulatePatchManifest.TryGetPatchAsset(assetPath, out PatchAsset patchAsset))
|
||||||
return patchAsset;
|
return patchAsset;
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ namespace YooAsset
|
|||||||
OperationSystem.StartOperaiton(operation);
|
OperationSystem.StartOperaiton(operation);
|
||||||
return operation;
|
return operation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 异步更新补丁清单(弱联网)
|
/// 异步更新补丁清单(弱联网)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -102,13 +102,13 @@ namespace YooAsset
|
|||||||
bool used = false;
|
bool used = false;
|
||||||
foreach (var patchBundle in LocalPatchManifest.BundleList)
|
foreach (var patchBundle in LocalPatchManifest.BundleList)
|
||||||
{
|
{
|
||||||
if (fileInfo.Name == patchBundle.Hash)
|
if (fileInfo.Name == patchBundle.FileName)
|
||||||
{
|
{
|
||||||
used = true;
|
used = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(used == false)
|
if (used == false)
|
||||||
{
|
{
|
||||||
YooLogger.Log($"Delete unused cache file : {fileInfo.Name}");
|
YooLogger.Log($"Delete unused cache file : {fileInfo.Name}");
|
||||||
File.Delete(fileInfo.FullName);
|
File.Delete(fileInfo.FullName);
|
||||||
@@ -136,7 +136,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 忽略APP资源
|
// 忽略APP资源
|
||||||
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
||||||
if (AppPatchManifest.Bundles.TryGetValue(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
if (AppPatchManifest.TryGetPatchBundle(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
||||||
{
|
{
|
||||||
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
||||||
continue;
|
continue;
|
||||||
@@ -168,7 +168,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 忽略APP资源
|
// 忽略APP资源
|
||||||
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
||||||
if (AppPatchManifest.Bundles.TryGetValue(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
if (AppPatchManifest.TryGetPatchBundle(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
||||||
{
|
{
|
||||||
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
||||||
continue;
|
continue;
|
||||||
@@ -215,21 +215,17 @@ namespace YooAsset
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
string mainBundleName = LocalPatchManifest.GetBundleName(assetInfo.AssetPath);
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
if (LocalPatchManifest.Bundles.TryGetValue(mainBundleName, out PatchBundle mainBundle))
|
PatchBundle mainBundle = LocalPatchManifest.GetMainPatchBundle(assetInfo.AssetPath);
|
||||||
{
|
if (checkList.Contains(mainBundle) == false)
|
||||||
if (checkList.Contains(mainBundle) == false)
|
checkList.Add(mainBundle);
|
||||||
checkList.Add(mainBundle);
|
|
||||||
}
|
|
||||||
|
|
||||||
string[] dependBundleNames = LocalPatchManifest.GetAllDependencies(assetInfo.AssetPath);
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
foreach (var dependBundleName in dependBundleNames)
|
PatchBundle[] dependBundles = LocalPatchManifest.GetAllDependencies(assetInfo.AssetPath);
|
||||||
|
foreach (var dependBundle in dependBundles)
|
||||||
{
|
{
|
||||||
if (LocalPatchManifest.Bundles.TryGetValue(dependBundleName, out PatchBundle dependBundle))
|
if (checkList.Contains(dependBundle) == false)
|
||||||
{
|
checkList.Add(dependBundle);
|
||||||
if (checkList.Contains(dependBundle) == false)
|
|
||||||
checkList.Add(dependBundle);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -242,7 +238,7 @@ namespace YooAsset
|
|||||||
|
|
||||||
// 忽略APP资源
|
// 忽略APP资源
|
||||||
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
// 注意:如果是APP资源并且哈希值相同,则不需要下载
|
||||||
if (AppPatchManifest.Bundles.TryGetValue(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
if (AppPatchManifest.TryGetPatchBundle(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
||||||
{
|
{
|
||||||
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
||||||
continue;
|
continue;
|
||||||
@@ -337,9 +333,8 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
public BundleInfo ConvertToDownloadInfo(PatchBundle patchBundle)
|
public BundleInfo ConvertToDownloadInfo(PatchBundle patchBundle)
|
||||||
{
|
{
|
||||||
// 注意:资源版本号只用于确定下载路径
|
string remoteMainURL = GetPatchDownloadMainURL(patchBundle.FileName);
|
||||||
string remoteMainURL = GetPatchDownloadMainURL(patchBundle.Hash);
|
string remoteFallbackURL = GetPatchDownloadFallbackURL(patchBundle.FileName);
|
||||||
string remoteFallbackURL = GetPatchDownloadFallbackURL(patchBundle.Hash);
|
|
||||||
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromRemote, remoteMainURL, remoteFallbackURL);
|
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromRemote, remoteMainURL, remoteFallbackURL);
|
||||||
return bundleInfo;
|
return bundleInfo;
|
||||||
}
|
}
|
||||||
@@ -358,7 +353,7 @@ namespace YooAsset
|
|||||||
public BundleInfo ConvertToUnpackInfo(PatchBundle patchBundle)
|
public BundleInfo ConvertToUnpackInfo(PatchBundle patchBundle)
|
||||||
{
|
{
|
||||||
// 注意:我们把流加载路径指定为远端下载地址
|
// 注意:我们把流加载路径指定为远端下载地址
|
||||||
string streamingPath = PathHelper.MakeStreamingLoadPath(patchBundle.Hash);
|
string streamingPath = PathHelper.MakeStreamingLoadPath(patchBundle.FileName);
|
||||||
streamingPath = PathHelper.ConvertToWWWPath(streamingPath);
|
streamingPath = PathHelper.ConvertToWWWPath(streamingPath);
|
||||||
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromRemote, streamingPath, streamingPath);
|
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromRemote, streamingPath, streamingPath);
|
||||||
return bundleInfo;
|
return bundleInfo;
|
||||||
@@ -376,53 +371,51 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
|
|
||||||
#region IBundleServices接口
|
#region IBundleServices接口
|
||||||
private BundleInfo CreateBundleInfo(string bundleName)
|
private BundleInfo CreateBundleInfo(PatchBundle patchBundle)
|
||||||
{
|
{
|
||||||
if (LocalPatchManifest.Bundles.TryGetValue(bundleName, out PatchBundle patchBundle))
|
if (patchBundle == null)
|
||||||
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
|
// 查询沙盒资源
|
||||||
|
if (DownloadSystem.ContainsVerifyFile(patchBundle.Hash))
|
||||||
{
|
{
|
||||||
// 查询沙盒资源
|
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromCache);
|
||||||
if (DownloadSystem.ContainsVerifyFile(patchBundle.Hash))
|
return bundleInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询APP资源
|
||||||
|
if (AppPatchManifest.TryGetPatchBundle(patchBundle.BundleName, out PatchBundle appPatchBundle))
|
||||||
|
{
|
||||||
|
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
||||||
{
|
{
|
||||||
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromCache);
|
BundleInfo bundleInfo = new BundleInfo(appPatchBundle, BundleInfo.ELoadMode.LoadFromStreaming);
|
||||||
return bundleInfo;
|
return bundleInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 查询APP资源
|
|
||||||
if (AppPatchManifest.Bundles.TryGetValue(bundleName, out PatchBundle appPatchBundle))
|
|
||||||
{
|
|
||||||
if (appPatchBundle.IsBuildin && appPatchBundle.Hash == patchBundle.Hash)
|
|
||||||
{
|
|
||||||
BundleInfo bundleInfo = new BundleInfo(appPatchBundle, BundleInfo.ELoadMode.LoadFromStreaming);
|
|
||||||
return bundleInfo;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 从服务端下载
|
|
||||||
return ConvertToDownloadInfo(patchBundle);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
throw new Exception("Should never get here !");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 从服务端下载
|
||||||
|
return ConvertToDownloadInfo(patchBundle);
|
||||||
}
|
}
|
||||||
BundleInfo IBundleServices.GetBundleInfo(AssetInfo assetInfo)
|
BundleInfo IBundleServices.GetBundleInfo(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
string bundleName = LocalPatchManifest.GetBundleName(assetInfo.AssetPath);
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
return CreateBundleInfo(bundleName);
|
var patchBundle = LocalPatchManifest.GetMainPatchBundle(assetInfo.AssetPath);
|
||||||
|
return CreateBundleInfo(patchBundle);
|
||||||
}
|
}
|
||||||
BundleInfo[] IBundleServices.GetAllDependBundleInfos(AssetInfo assetInfo)
|
BundleInfo[] IBundleServices.GetAllDependBundleInfos(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
var depends = LocalPatchManifest.GetAllDependencies(assetInfo.AssetPath);
|
var depends = LocalPatchManifest.GetAllDependencies(assetInfo.AssetPath);
|
||||||
List<BundleInfo> result = new List<BundleInfo>(depends.Length);
|
List<BundleInfo> result = new List<BundleInfo>(depends.Length);
|
||||||
foreach (var bundleName in depends)
|
foreach (var patchBundle in depends)
|
||||||
{
|
{
|
||||||
BundleInfo bundleInfo = CreateBundleInfo(bundleName);
|
BundleInfo bundleInfo = CreateBundleInfo(patchBundle);
|
||||||
result.Add(bundleInfo);
|
result.Add(bundleInfo);
|
||||||
}
|
}
|
||||||
return result.ToArray();
|
return result.ToArray();
|
||||||
@@ -433,7 +426,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
PatchAsset IBundleServices.TryGetPatchAsset(string assetPath)
|
PatchAsset IBundleServices.TryGetPatchAsset(string assetPath)
|
||||||
{
|
{
|
||||||
if (LocalPatchManifest.Assets.TryGetValue(assetPath, out PatchAsset patchAsset))
|
if (LocalPatchManifest.TryGetPatchAsset(assetPath, out PatchAsset patchAsset))
|
||||||
return patchAsset;
|
return patchAsset;
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -38,36 +38,34 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
|
|
||||||
#region IBundleServices接口
|
#region IBundleServices接口
|
||||||
private BundleInfo CreateBundleInfo(string bundleName)
|
private BundleInfo CreateBundleInfo(PatchBundle patchBundle)
|
||||||
{
|
{
|
||||||
if (_appPatchManifest.Bundles.TryGetValue(bundleName, out PatchBundle patchBundle))
|
if (patchBundle == null)
|
||||||
{
|
|
||||||
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromStreaming);
|
|
||||||
return bundleInfo;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
}
|
|
||||||
|
BundleInfo bundleInfo = new BundleInfo(patchBundle, BundleInfo.ELoadMode.LoadFromStreaming);
|
||||||
|
return bundleInfo;
|
||||||
}
|
}
|
||||||
BundleInfo IBundleServices.GetBundleInfo(AssetInfo assetInfo)
|
BundleInfo IBundleServices.GetBundleInfo(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
string bundleName = _appPatchManifest.GetBundleName(assetInfo.AssetPath);
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
return CreateBundleInfo(bundleName);
|
var patchBundle = _appPatchManifest.GetMainPatchBundle(assetInfo.AssetPath);
|
||||||
|
return CreateBundleInfo(patchBundle);
|
||||||
}
|
}
|
||||||
BundleInfo[] IBundleServices.GetAllDependBundleInfos(AssetInfo assetInfo)
|
BundleInfo[] IBundleServices.GetAllDependBundleInfos(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
throw new Exception("Should never get here !");
|
throw new Exception("Should never get here !");
|
||||||
|
|
||||||
|
// 注意:如果补丁清单里未找到资源包会抛出异常!
|
||||||
var depends = _appPatchManifest.GetAllDependencies(assetInfo.AssetPath);
|
var depends = _appPatchManifest.GetAllDependencies(assetInfo.AssetPath);
|
||||||
List<BundleInfo> result = new List<BundleInfo>(depends.Length);
|
List<BundleInfo> result = new List<BundleInfo>(depends.Length);
|
||||||
foreach (var bundleName in depends)
|
foreach (var patchBundle in depends)
|
||||||
{
|
{
|
||||||
BundleInfo bundleInfo = CreateBundleInfo(bundleName);
|
BundleInfo bundleInfo = CreateBundleInfo(patchBundle);
|
||||||
result.Add(bundleInfo);
|
result.Add(bundleInfo);
|
||||||
}
|
}
|
||||||
return result.ToArray();
|
return result.ToArray();
|
||||||
@@ -78,7 +76,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
PatchAsset IBundleServices.TryGetPatchAsset(string assetPath)
|
PatchAsset IBundleServices.TryGetPatchAsset(string assetPath)
|
||||||
{
|
{
|
||||||
if (_appPatchManifest.Assets.TryGetValue(assetPath, out PatchAsset patchAsset))
|
if (_appPatchManifest.TryGetPatchAsset(assetPath, out PatchAsset patchAsset))
|
||||||
return patchAsset;
|
return patchAsset;
|
||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -1,11 +1,18 @@
|
|||||||
|
|
||||||
namespace YooAsset
|
namespace YooAsset
|
||||||
{
|
{
|
||||||
|
public struct DecryptionFileInfo
|
||||||
|
{
|
||||||
|
public string BundleName;
|
||||||
|
public string BundleHash;
|
||||||
|
public string BundleCRC;
|
||||||
|
}
|
||||||
|
|
||||||
public interface IDecryptionServices
|
public interface IDecryptionServices
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取加密文件的数据偏移量
|
/// 获取加密文件的数据偏移量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
ulong GetFileOffset();
|
ulong GetFileOffset(DecryptionFileInfo fileInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -16,14 +16,20 @@ namespace YooAsset
|
|||||||
public string RawFileVariant = "rawfile";
|
public string RawFileVariant = "rawfile";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建输出的补丁清单文件名称
|
/// 补丁清单文件名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string PatchManifestFileName = "PatchManifest";
|
public string PatchManifestFileName = "PatchManifest";
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建输出的Unity清单文件名称
|
/// 补丁清单文件版本
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string UnityManifestFileName = "UnityManifest";
|
public const string PatchManifestFileVersion = "1.2.2";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构建输出文件夹名称
|
||||||
|
/// </summary>
|
||||||
|
public const string OutputFolderName = "OutputCache";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 构建输出的报告文件
|
/// 构建输出的报告文件
|
||||||
@@ -34,5 +40,10 @@ namespace YooAsset
|
|||||||
/// 静态版本文件
|
/// 静态版本文件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string VersionFileName = "StaticVersion.bytes";
|
public const string VersionFileName = "StaticVersion.bytes";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Unity内置着色器资源包名称
|
||||||
|
/// </summary>
|
||||||
|
public const string UnityBuiltInShadersBundleName = "UnityBuiltInShaders.bundle";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -404,10 +404,7 @@ namespace YooAsset
|
|||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
AssetInfo assetInfo = ConvertLocationToAssetInfo(location, null);
|
AssetInfo assetInfo = ConvertLocationToAssetInfo(location, null);
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
{
|
|
||||||
YooLogger.Warning(assetInfo.Error);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
BundleInfo bundleInfo = _bundleServices.GetBundleInfo(assetInfo);
|
BundleInfo bundleInfo = _bundleServices.GetBundleInfo(assetInfo);
|
||||||
if (bundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromRemote)
|
if (bundleInfo.LoadMode == BundleInfo.ELoadMode.LoadFromRemote)
|
||||||
@@ -457,6 +454,17 @@ namespace YooAsset
|
|||||||
return _bundleServices.GetAssetInfos(tags);
|
return _bundleServices.GetAssetInfos(tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取资源信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="location">资源的定位地址</param>
|
||||||
|
public static AssetInfo GetAssetInfo(string location)
|
||||||
|
{
|
||||||
|
DebugCheckInitialize();
|
||||||
|
AssetInfo assetInfo = ConvertLocationToAssetInfo(location, null);
|
||||||
|
return assetInfo;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取资源路径
|
/// 获取资源路径
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -469,38 +477,7 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 场景加载
|
#region 原生文件
|
||||||
/// <summary>
|
|
||||||
/// 异步加载场景
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="location">场景的定位地址</param>
|
|
||||||
/// <param name="sceneMode">场景加载模式</param>
|
|
||||||
/// <param name="activateOnLoad">加载完毕时是否主动激活</param>
|
|
||||||
/// <param name="priority">优先级</param>
|
|
||||||
public static SceneOperationHandle LoadSceneAsync(string location, LoadSceneMode sceneMode = LoadSceneMode.Single, bool activateOnLoad = true, int priority = 100)
|
|
||||||
{
|
|
||||||
DebugCheckInitialize();
|
|
||||||
AssetInfo assetInfo = ConvertLocationToAssetInfo(location, null);
|
|
||||||
var handle = AssetSystem.LoadSceneAsync(assetInfo, sceneMode, activateOnLoad, priority);
|
|
||||||
return handle;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 异步加载场景
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="assetInfo">场景的资源信息</param>
|
|
||||||
/// <param name="sceneMode">场景加载模式</param>
|
|
||||||
/// <param name="activateOnLoad">加载完毕时是否主动激活</param>
|
|
||||||
/// <param name="priority">优先级</param>
|
|
||||||
public static SceneOperationHandle LoadSceneAsync(AssetInfo assetInfo, LoadSceneMode sceneMode = LoadSceneMode.Single, bool activateOnLoad = true, int priority = 100)
|
|
||||||
{
|
|
||||||
DebugCheckInitialize();
|
|
||||||
var handle = AssetSystem.LoadSceneAsync(assetInfo, sceneMode, activateOnLoad, priority);
|
|
||||||
return handle;
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region 资源加载
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 异步获取原生文件
|
/// 异步获取原生文件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -521,6 +498,8 @@ namespace YooAsset
|
|||||||
public static RawFileOperation GetRawFileAsync(AssetInfo assetInfo, string copyPath = null)
|
public static RawFileOperation GetRawFileAsync(AssetInfo assetInfo, string copyPath = null)
|
||||||
{
|
{
|
||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
|
if (assetInfo.IsInvalid)
|
||||||
|
YooLogger.Warning(assetInfo.Error);
|
||||||
return GetRawFileInternal(assetInfo, copyPath);
|
return GetRawFileInternal(assetInfo, copyPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -529,7 +508,6 @@ namespace YooAsset
|
|||||||
{
|
{
|
||||||
if (assetInfo.IsInvalid)
|
if (assetInfo.IsInvalid)
|
||||||
{
|
{
|
||||||
YooLogger.Warning(assetInfo.Error);
|
|
||||||
RawFileOperation operation = new CompletedRawFileOperation(assetInfo.Error, copyPath);
|
RawFileOperation operation = new CompletedRawFileOperation(assetInfo.Error, copyPath);
|
||||||
OperationSystem.StartOperaiton(operation);
|
OperationSystem.StartOperaiton(operation);
|
||||||
return operation;
|
return operation;
|
||||||
@@ -570,6 +548,39 @@ namespace YooAsset
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 场景加载
|
||||||
|
/// <summary>
|
||||||
|
/// 异步加载场景
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="location">场景的定位地址</param>
|
||||||
|
/// <param name="sceneMode">场景加载模式</param>
|
||||||
|
/// <param name="activateOnLoad">加载完毕时是否主动激活</param>
|
||||||
|
/// <param name="priority">优先级</param>
|
||||||
|
public static SceneOperationHandle LoadSceneAsync(string location, LoadSceneMode sceneMode = LoadSceneMode.Single, bool activateOnLoad = true, int priority = 100)
|
||||||
|
{
|
||||||
|
DebugCheckInitialize();
|
||||||
|
AssetInfo assetInfo = ConvertLocationToAssetInfo(location, null);
|
||||||
|
var handle = AssetSystem.LoadSceneAsync(assetInfo, sceneMode, activateOnLoad, priority);
|
||||||
|
return handle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 异步加载场景
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="assetInfo">场景的资源信息</param>
|
||||||
|
/// <param name="sceneMode">场景加载模式</param>
|
||||||
|
/// <param name="activateOnLoad">加载完毕时是否主动激活</param>
|
||||||
|
/// <param name="priority">优先级</param>
|
||||||
|
public static SceneOperationHandle LoadSceneAsync(AssetInfo assetInfo, LoadSceneMode sceneMode = LoadSceneMode.Single, bool activateOnLoad = true, int priority = 100)
|
||||||
|
{
|
||||||
|
DebugCheckInitialize();
|
||||||
|
if (assetInfo.IsInvalid)
|
||||||
|
YooLogger.Warning(assetInfo.Error);
|
||||||
|
var handle = AssetSystem.LoadSceneAsync(assetInfo, sceneMode, activateOnLoad, priority);
|
||||||
|
return handle;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 资源加载
|
#region 资源加载
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 同步加载资源对象
|
/// 同步加载资源对象
|
||||||
@@ -578,6 +589,8 @@ namespace YooAsset
|
|||||||
public static AssetOperationHandle LoadAssetSync(AssetInfo assetInfo)
|
public static AssetOperationHandle LoadAssetSync(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
|
if (assetInfo.IsInvalid)
|
||||||
|
YooLogger.Warning(assetInfo.Error);
|
||||||
return LoadAssetInternal(assetInfo, true);
|
return LoadAssetInternal(assetInfo, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -613,6 +626,8 @@ namespace YooAsset
|
|||||||
public static AssetOperationHandle LoadAssetAsync(AssetInfo assetInfo)
|
public static AssetOperationHandle LoadAssetAsync(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
|
if (assetInfo.IsInvalid)
|
||||||
|
YooLogger.Warning(assetInfo.Error);
|
||||||
return LoadAssetInternal(assetInfo, false);
|
return LoadAssetInternal(assetInfo, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -658,6 +673,8 @@ namespace YooAsset
|
|||||||
public static SubAssetsOperationHandle LoadSubAssetsSync(AssetInfo assetInfo)
|
public static SubAssetsOperationHandle LoadSubAssetsSync(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
|
if (assetInfo.IsInvalid)
|
||||||
|
YooLogger.Warning(assetInfo.Error);
|
||||||
return LoadSubAssetsInternal(assetInfo, true);
|
return LoadSubAssetsInternal(assetInfo, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -693,6 +710,8 @@ namespace YooAsset
|
|||||||
public static SubAssetsOperationHandle LoadSubAssetsAsync(AssetInfo assetInfo)
|
public static SubAssetsOperationHandle LoadSubAssetsAsync(AssetInfo assetInfo)
|
||||||
{
|
{
|
||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
|
if (assetInfo.IsInvalid)
|
||||||
|
YooLogger.Warning(assetInfo.Error);
|
||||||
return LoadSubAssetsInternal(assetInfo, false);
|
return LoadSubAssetsInternal(assetInfo, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1056,6 +1075,10 @@ namespace YooAsset
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 私有方法
|
#region 私有方法
|
||||||
|
/// <summary>
|
||||||
|
/// 资源定位地址转换为资源信息类,失败时内部会发出错误日志。
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>如果转换失败会返回一个无效的资源信息类</returns>
|
||||||
private static AssetInfo ConvertLocationToAssetInfo(string location, System.Type assetType)
|
private static AssetInfo ConvertLocationToAssetInfo(string location, System.Type assetType)
|
||||||
{
|
{
|
||||||
DebugCheckLocation(location);
|
DebugCheckLocation(location);
|
||||||
|
|||||||
8
Assets/YooAsset/Samples~/BasicSample.meta
Normal file
8
Assets/YooAsset/Samples~/BasicSample.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 04e3e66fd2e16f641811047ad034f6b2
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
250
Assets/YooAsset/Samples~/BasicSample/Boot.unity
Normal file
250
Assets/YooAsset/Samples~/BasicSample/Boot.unity
Normal file
@@ -0,0 +1,250 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!29 &1
|
||||||
|
OcclusionCullingSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_OcclusionBakeSettings:
|
||||||
|
smallestOccluder: 5
|
||||||
|
smallestHole: 0.25
|
||||||
|
backfaceThreshold: 100
|
||||||
|
m_SceneGUID: 00000000000000000000000000000000
|
||||||
|
m_OcclusionCullingData: {fileID: 0}
|
||||||
|
--- !u!104 &2
|
||||||
|
RenderSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 9
|
||||||
|
m_Fog: 0
|
||||||
|
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
m_FogMode: 3
|
||||||
|
m_FogDensity: 0.01
|
||||||
|
m_LinearFogStart: 0
|
||||||
|
m_LinearFogEnd: 300
|
||||||
|
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||||
|
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||||
|
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||||
|
m_AmbientIntensity: 1
|
||||||
|
m_AmbientMode: 0
|
||||||
|
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||||
|
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_HaloStrength: 0.5
|
||||||
|
m_FlareStrength: 1
|
||||||
|
m_FlareFadeSpeed: 3
|
||||||
|
m_HaloTexture: {fileID: 0}
|
||||||
|
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_DefaultReflectionMode: 0
|
||||||
|
m_DefaultReflectionResolution: 128
|
||||||
|
m_ReflectionBounces: 1
|
||||||
|
m_ReflectionIntensity: 1
|
||||||
|
m_CustomReflection: {fileID: 0}
|
||||||
|
m_Sun: {fileID: 0}
|
||||||
|
m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
|
||||||
|
m_UseRadianceAmbientProbe: 0
|
||||||
|
--- !u!157 &3
|
||||||
|
LightmapSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 11
|
||||||
|
m_GIWorkflowMode: 1
|
||||||
|
m_GISettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_BounceScale: 1
|
||||||
|
m_IndirectOutputScale: 1
|
||||||
|
m_AlbedoBoost: 1
|
||||||
|
m_EnvironmentLightingMode: 0
|
||||||
|
m_EnableBakedLightmaps: 1
|
||||||
|
m_EnableRealtimeLightmaps: 0
|
||||||
|
m_LightmapEditorSettings:
|
||||||
|
serializedVersion: 12
|
||||||
|
m_Resolution: 2
|
||||||
|
m_BakeResolution: 40
|
||||||
|
m_AtlasSize: 1024
|
||||||
|
m_AO: 0
|
||||||
|
m_AOMaxDistance: 1
|
||||||
|
m_CompAOExponent: 1
|
||||||
|
m_CompAOExponentDirect: 0
|
||||||
|
m_ExtractAmbientOcclusion: 0
|
||||||
|
m_Padding: 2
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_LightmapsBakeMode: 1
|
||||||
|
m_TextureCompression: 1
|
||||||
|
m_FinalGather: 0
|
||||||
|
m_FinalGatherFiltering: 1
|
||||||
|
m_FinalGatherRayCount: 256
|
||||||
|
m_ReflectionCompression: 2
|
||||||
|
m_MixedBakeMode: 2
|
||||||
|
m_BakeBackend: 1
|
||||||
|
m_PVRSampling: 1
|
||||||
|
m_PVRDirectSampleCount: 32
|
||||||
|
m_PVRSampleCount: 500
|
||||||
|
m_PVRBounces: 2
|
||||||
|
m_PVREnvironmentSampleCount: 500
|
||||||
|
m_PVREnvironmentReferencePointCount: 2048
|
||||||
|
m_PVRFilteringMode: 2
|
||||||
|
m_PVRDenoiserTypeDirect: 0
|
||||||
|
m_PVRDenoiserTypeIndirect: 0
|
||||||
|
m_PVRDenoiserTypeAO: 0
|
||||||
|
m_PVRFilterTypeDirect: 0
|
||||||
|
m_PVRFilterTypeIndirect: 0
|
||||||
|
m_PVRFilterTypeAO: 0
|
||||||
|
m_PVREnvironmentMIS: 0
|
||||||
|
m_PVRCulling: 1
|
||||||
|
m_PVRFilteringGaussRadiusDirect: 1
|
||||||
|
m_PVRFilteringGaussRadiusIndirect: 5
|
||||||
|
m_PVRFilteringGaussRadiusAO: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||||
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||||
|
m_ExportTrainingData: 0
|
||||||
|
m_TrainingDataDestination: TrainingData
|
||||||
|
m_LightProbeSampleCountMultiplier: 4
|
||||||
|
m_LightingDataAsset: {fileID: 0}
|
||||||
|
m_UseShadowmask: 1
|
||||||
|
--- !u!196 &4
|
||||||
|
NavMeshSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_BuildSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
agentTypeID: 0
|
||||||
|
agentRadius: 0.5
|
||||||
|
agentHeight: 2
|
||||||
|
agentSlope: 45
|
||||||
|
agentClimb: 0.4
|
||||||
|
ledgeDropHeight: 0
|
||||||
|
maxJumpAcrossDistance: 0
|
||||||
|
minRegionArea: 2
|
||||||
|
manualCellSize: 0
|
||||||
|
cellSize: 0.16666667
|
||||||
|
manualTileSize: 0
|
||||||
|
tileSize: 256
|
||||||
|
accuratePlacement: 0
|
||||||
|
debug:
|
||||||
|
m_Flags: 0
|
||||||
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1 &882660809
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 882660812}
|
||||||
|
- component: {fileID: 882660811}
|
||||||
|
- component: {fileID: 882660810}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Camera
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!81 &882660810
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 882660809}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!20 &882660811
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 882660809}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 2
|
||||||
|
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
m_projectionMatrixMode: 1
|
||||||
|
m_GateFitMode: 2
|
||||||
|
m_FOVAxisMode: 0
|
||||||
|
m_SensorSize: {x: 36, y: 24}
|
||||||
|
m_LensShift: {x: 0, y: 0}
|
||||||
|
m_FocalLength: 50
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: 0.3
|
||||||
|
far clip plane: 1000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 0
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: 0
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_TargetEye: 3
|
||||||
|
m_HDR: 1
|
||||||
|
m_AllowMSAA: 1
|
||||||
|
m_AllowDynamicResolution: 0
|
||||||
|
m_ForceIntoRT: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: 0.022
|
||||||
|
--- !u!4 &882660812
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 882660809}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: -0.09431402, y: 0.086022705, z: -11.001953}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &1281760859
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1281760861}
|
||||||
|
- component: {fileID: 1281760860}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Boot
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1281760860
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1281760859}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 41fef9a778e4e254b939e9dc3e553bf0, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
PlayMode: 0
|
||||||
|
--- !u!4 &1281760861
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1281760859}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
7
Assets/YooAsset/Samples~/BasicSample/Boot.unity.meta
Normal file
7
Assets/YooAsset/Samples~/BasicSample/Boot.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9fc0d4010bbf28b4594072e72b8655ab
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/YooAsset/Samples~/BasicSample/GameArt.meta
Normal file
8
Assets/YooAsset/Samples~/BasicSample/GameArt.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b7b34c5f2451a4f49815b524299cba40
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/YooAsset/Samples~/BasicSample/GameArt/Entity.meta
Normal file
8
Assets/YooAsset/Samples~/BasicSample/GameArt/Entity.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 215ec79d208912c41aef6acebd4004a1
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 18794c413d15d8a4897a1b4038f00afd
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 446b67edb2cc0c640903adc7b69660a8
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1472874806
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,692 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 67fa0069e75d5734fbeb60b68392703b
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 20200
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
1: 100000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
1: 100002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
1: 100004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
1: 100006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
1: 100008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
1: 100010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
1: 100012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
1: 100014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
1: 100016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
1: 100018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
1: 100020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
1: 100030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
1: 100032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
1: 100040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
1: 100042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
1: 100052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
1: 100054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
1: 100056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
1: 100058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
1: 100060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
1: 100070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
1: 100072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
1: 100074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
1: 100076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
4: 400002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
4: 400004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
4: 400006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
4: 400008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
4: 400010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
4: 400012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
4: 400014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
4: 400016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
4: 400018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
4: 400020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
4: 400030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
4: 400032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
4: 400042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
4: 400052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
4: 400054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
4: 400056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
4: 400058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
4: 400060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
4: 400070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
4: 400072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
4: 400074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
4: 400076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
43: 4300000
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
74: 7400000
|
||||||
|
second: attack
|
||||||
|
- first:
|
||||||
|
95: 9500000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
111: 11100000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
137: 13700000
|
||||||
|
second: Footman_Mesh
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 0
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 3
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: attack
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1
|
||||||
|
lastFrame: 28
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 1
|
||||||
|
loopBlendPositionY: 1
|
||||||
|
loopBlendPositionXZ: 1
|
||||||
|
keepOriginalOrientation: 1
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 1
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask:
|
||||||
|
- path:
|
||||||
|
weight: 1
|
||||||
|
- path: COB_CTRL
|
||||||
|
weight: 0
|
||||||
|
- path: Footman_Mesh
|
||||||
|
weight: 0
|
||||||
|
- path: Hips
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Shield
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw/J_Tip
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left/Index_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left/RestOfFingers_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left/Thumb_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right/Index_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right/RestOfFingers_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right/Thumb_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Sword
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left/Toetip_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right/Toetip_Right
|
||||||
|
weight: 1
|
||||||
|
maskType: 0
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 1
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 0
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 0
|
||||||
|
importLights: 0
|
||||||
|
fileIdsGeneration: 1
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 1
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 4
|
||||||
|
normalCalculationMode: 0
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 1
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton:
|
||||||
|
- name: footman@attack01(Clone)
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
scale: {x: 1, y: 1, z: 1}
|
||||||
|
- name: Footman_Mesh
|
||||||
|
parentName: footman@attack01(Clone)
|
||||||
|
position: {x: -0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: -0, z: -0, w: 1}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: COB_CTRL
|
||||||
|
parentName: footman@attack01(Clone)
|
||||||
|
position: {x: 0.0042852233, y: 0.6601113, z: -0.1711083}
|
||||||
|
rotation: {x: 0.10958317, y: -0.19028346, z: -0.021378642, w: 0.9753598}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Hips
|
||||||
|
parentName: footman@attack01(Clone)
|
||||||
|
position: {x: 0.0042852233, y: 0.7778554, z: 0.024665922}
|
||||||
|
rotation: {x: 0.119579025, y: 0.11957903, z: -0.69692236, w: 0.6969225}
|
||||||
|
scale: {x: 0.010000001, y: 0.009999999, z: 0.010000001}
|
||||||
|
- name: Spine
|
||||||
|
parentName: Hips
|
||||||
|
position: {x: -22.08183, y: 2.7610132e-30, z: 2.789185e-15}
|
||||||
|
rotation: {x: 0.000000007450581, y: -0.070730194, z: -0.000000078231096, w: 0.99749553}
|
||||||
|
scale: {x: 1.0000006, y: 1.0000004, z: 0.99999994}
|
||||||
|
- name: Chest
|
||||||
|
parentName: Spine
|
||||||
|
position: {x: -24.493395, y: 4.37078e-15, z: -6.5791713e-15}
|
||||||
|
rotation: {x: 0.000000019903341, y: -0.1926707, z: -0.00000003972174, w: 0.98126346}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000002, z: 0.99999994}
|
||||||
|
- name: Neck
|
||||||
|
parentName: Chest
|
||||||
|
position: {x: -31.697706, y: 4.2682918e-15, z: 1.5827795e-14}
|
||||||
|
rotation: {x: -0.000000014372164, y: 0.14626887, z: -0.000000017028755, w: 0.9892449}
|
||||||
|
scale: {x: 1.0000008, y: 1.0000006, z: 1.0000001}
|
||||||
|
- name: Head
|
||||||
|
parentName: Neck
|
||||||
|
position: {x: -20.858675, y: 1.02066555e-14, z: 1.3950282e-15}
|
||||||
|
rotation: {x: -0.38232452, y: -0.000000014134563, z: 0.92402816, w: -0.00000005207485}
|
||||||
|
scale: {x: 1.0000002, y: 1, z: 0.99999976}
|
||||||
|
- name: Jaw
|
||||||
|
parentName: Head
|
||||||
|
position: {x: -19.492151, y: -4.0412776e-15, z: -4.4981513}
|
||||||
|
rotation: {x: -0.000000005806956, y: 0.0971892, z: 0.000000040794845, w: 0.99526596}
|
||||||
|
scale: {x: 1.000001, y: 1.0000006, z: 1.0000001}
|
||||||
|
- name: J_Tip
|
||||||
|
parentName: Jaw
|
||||||
|
position: {x: -9.274182, y: -1.2503675e-14, z: 8.099877}
|
||||||
|
rotation: {x: 0.29965067, y: -0.2996506, z: -0.64047605, w: 0.640476}
|
||||||
|
scale: {x: 0.99999994, y: 0.9999995, z: 1.0000008}
|
||||||
|
- name: Shoulder_Left
|
||||||
|
parentName: Chest
|
||||||
|
position: {x: -18.98868, y: -31.335035, z: -12.155753}
|
||||||
|
rotation: {x: -0.005294424, y: 0.090987876, z: 0.79941905, w: 0.59382015}
|
||||||
|
scale: {x: 1, y: 1.0000002, z: 0.99999994}
|
||||||
|
- name: UpperArm_Left
|
||||||
|
parentName: Shoulder_Left
|
||||||
|
position: {x: -14.901689, y: 2.842171e-14, z: 8.881784e-16}
|
||||||
|
rotation: {x: 0.026086485, y: -0.107761614, z: -0.1623719, w: 0.9804807}
|
||||||
|
scale: {x: 0.99999994, y: 0.99999964, z: 1.0000005}
|
||||||
|
- name: LowerArm_Left
|
||||||
|
parentName: UpperArm_Left
|
||||||
|
position: {x: -32.191196, y: 4.842915e-15, z: -2.9871985e-15}
|
||||||
|
rotation: {x: 0.00035523064, y: 0.064626634, z: 0.0047827335, w: 0.99789804}
|
||||||
|
scale: {x: 0.9999998, y: 0.99999976, z: 0.9999998}
|
||||||
|
- name: Hand_Left
|
||||||
|
parentName: LowerArm_Left
|
||||||
|
position: {x: -29.678864, y: -2.7758043e-29, z: 4.869975e-15}
|
||||||
|
rotation: {x: -0.0033530025, y: -0.08887861, z: -0.072212294, w: 0.9934157}
|
||||||
|
scale: {x: 1.0000004, y: 0.9999993, z: 0.9999999}
|
||||||
|
- name: RestOfFingers_Proximal_Left
|
||||||
|
parentName: Hand_Left
|
||||||
|
position: {x: -18.280243, y: -1.6586086e-14, z: -2.029683e-15}
|
||||||
|
rotation: {x: 0.0070363455, y: 0.038031247, z: 0.0719468, w: 0.9966583}
|
||||||
|
scale: {x: 0.99999964, y: 1.0000008, z: 1.0000001}
|
||||||
|
- name: RestOfFingers_Intermediate_Left
|
||||||
|
parentName: RestOfFingers_Proximal_Left
|
||||||
|
position: {x: -8.780147, y: 7.67957e-15, z: 3.7027159e-16}
|
||||||
|
rotation: {x: 0.000000007916243, y: 0.02967007, z: 0.00000003856258, w: 0.99955976}
|
||||||
|
scale: {x: 0.9999997, y: 1.0000001, z: 0.9999998}
|
||||||
|
- name: Index_Proximal_Left
|
||||||
|
parentName: Hand_Left
|
||||||
|
position: {x: -16.901342, y: 1.1929646e-13, z: 10.104264}
|
||||||
|
rotation: {x: 0.0067923637, y: 0.041410152, z: 0.07197031, w: 0.9965237}
|
||||||
|
scale: {x: 0.9999993, y: 1.0000011, z: 1.0000001}
|
||||||
|
- name: Index_Intermediate_Left
|
||||||
|
parentName: Index_Proximal_Left
|
||||||
|
position: {x: -9.911482, y: 1.4998595e-14, z: 3.154118e-15}
|
||||||
|
rotation: {x: 0.00000002142042, y: 0.026280932, z: -0.000000027008355, w: 0.9996546}
|
||||||
|
scale: {x: 1, y: 1.0000001, z: 1.0000001}
|
||||||
|
- name: Thumb_Proximal_Left
|
||||||
|
parentName: Hand_Left
|
||||||
|
position: {x: -7.0572023, y: -4.708794, z: 9.280683}
|
||||||
|
rotation: {x: -0.06620509, y: 0.3625553, z: 0.15769373, w: 0.91613495}
|
||||||
|
scale: {x: 0.99999994, y: 1.0000007, z: 0.9999999}
|
||||||
|
- name: Thumb_Intermediate_Left
|
||||||
|
parentName: Thumb_Proximal_Left
|
||||||
|
position: {x: -10.653726, y: 3.648137e-16, z: 8.5441255e-15}
|
||||||
|
rotation: {x: 0.030814871, y: -0.21547182, z: -0.13817634, w: 0.9661934}
|
||||||
|
scale: {x: 0.99999976, y: 1.0000004, z: 1.0000002}
|
||||||
|
- name: Shoulder_Right
|
||||||
|
parentName: Chest
|
||||||
|
position: {x: -18.98899, y: 31.335, z: -12.155691}
|
||||||
|
rotation: {x: 0.7994109, y: 0.59383136, z: 0.0052921963, w: -0.09098734}
|
||||||
|
scale: {x: 1.0000002, y: 0.9999999, z: 1.0000001}
|
||||||
|
- name: UpperArm_Right
|
||||||
|
parentName: Shoulder_Right
|
||||||
|
position: {x: 14.901961, y: 0.00046619424, z: 0.000079565914}
|
||||||
|
rotation: {x: 0.107756816, y: 0.026086226, z: -0.9804833, w: -0.16235957}
|
||||||
|
scale: {x: 1.0000002, y: 1, z: 1.0000007}
|
||||||
|
- name: LowerArm_Right
|
||||||
|
parentName: UpperArm_Right
|
||||||
|
position: {x: -32.191166, y: 4.4336893e-14, z: 3.536796e-15}
|
||||||
|
rotation: {x: -0.00035532357, y: -0.06462459, z: 0.0047840555, w: 0.99789816}
|
||||||
|
scale: {x: 1.0000012, y: 1, z: 1.000001}
|
||||||
|
- name: Hand_Right
|
||||||
|
parentName: LowerArm_Right
|
||||||
|
position: {x: -29.678719, y: 4.5461288e-14, z: -2.7325554e-15}
|
||||||
|
rotation: {x: 0.0033532493, y: 0.08887915, z: -0.07221696, w: 0.99341536}
|
||||||
|
scale: {x: 0.99999917, y: 1.0000001, z: 0.9999989}
|
||||||
|
- name: RestOfFingers_Proximal_Right
|
||||||
|
parentName: Hand_Right
|
||||||
|
position: {x: -18.280209, y: -3.645552e-14, z: 1.8098782e-15}
|
||||||
|
rotation: {x: -0.0070367483, y: -0.038032934, z: 0.07195137, w: 0.99665797}
|
||||||
|
scale: {x: 0.99999994, y: 1.0000011, z: 1.000001}
|
||||||
|
- name: RestOfFingers_Intermediate_Right
|
||||||
|
parentName: RestOfFingers_Proximal_Right
|
||||||
|
position: {x: -8.7804575, y: 1.3120176e-14, z: -2.045785e-15}
|
||||||
|
rotation: {x: -0.0000000018626449, y: -0.029668696, z: 0.000000023981553, w: 0.9995598}
|
||||||
|
scale: {x: 0.99999976, y: 1.0000007, z: 1.0000006}
|
||||||
|
- name: Index_Proximal_Right
|
||||||
|
parentName: Hand_Right
|
||||||
|
position: {x: -16.9013, y: -5.4614235e-14, z: -10.104266}
|
||||||
|
rotation: {x: -0.0067928056, y: -0.041411325, z: 0.07197488, w: 0.99652326}
|
||||||
|
scale: {x: 1.0000004, y: 1.0000013, z: 1.0000011}
|
||||||
|
- name: Index_Intermediate_Right
|
||||||
|
parentName: Index_Proximal_Right
|
||||||
|
position: {x: -9.911691, y: 2.0547315e-15, z: -2.2696136e-15}
|
||||||
|
rotation: {x: 0.0000000018626449, y: -0.026280075, z: -0.000000059051665, w: 0.9996546}
|
||||||
|
scale: {x: 0.9999998, y: 1.0000005, z: 1.0000007}
|
||||||
|
- name: Thumb_Proximal_Right
|
||||||
|
parentName: Hand_Right
|
||||||
|
position: {x: -7.0571103, y: -4.7085547, z: -9.280674}
|
||||||
|
rotation: {x: 0.06620055, y: -0.3625544, z: 0.15768987, w: 0.9161364}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000013, z: 1.0000013}
|
||||||
|
- name: Thumb_Intermediate_Right
|
||||||
|
parentName: Thumb_Proximal_Right
|
||||||
|
position: {x: -10.653982, y: 2.4461068e-14, z: 1.7784693e-15}
|
||||||
|
rotation: {x: -0.03195776, y: 0.20743087, z: -0.1379023, w: 0.9679536}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000001, z: 1.0000006}
|
||||||
|
- name: UpperLeg_Left
|
||||||
|
parentName: Hips
|
||||||
|
position: {x: 3.5068195, y: -19.94618, z: -1.3763187}
|
||||||
|
rotation: {x: -0.24868296, y: -0.015556604, z: 0.96813136, w: 0.025227567}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000005, z: 1}
|
||||||
|
- name: LowerLeg_Left
|
||||||
|
parentName: UpperLeg_Left
|
||||||
|
position: {x: -32.81932, y: 2.1316282e-14, z: -8.881784e-15}
|
||||||
|
rotation: {x: -0.000059749553, y: -0.15989013, z: 0.025032664, w: 0.9868174}
|
||||||
|
scale: {x: 1.0000006, y: 1.0000004, z: 1.0000006}
|
||||||
|
- name: Foot_Left
|
||||||
|
parentName: LowerLeg_Left
|
||||||
|
position: {x: -37.066936, y: -1.4210855e-14, z: -4.440892e-15}
|
||||||
|
rotation: {x: 0.13149364, y: 0.6137423, z: -0.22415835, w: 0.74550855}
|
||||||
|
scale: {x: 1.0000005, y: 1, z: 1.0000004}
|
||||||
|
- name: Toe_Left
|
||||||
|
parentName: Foot_Left
|
||||||
|
position: {x: -12.738982, y: -0.5618247, z: 0.30802163}
|
||||||
|
rotation: {x: 0.44987908, y: 0.11339949, z: -0.10218815, w: 0.8799471}
|
||||||
|
scale: {x: 0.9999996, y: 0.9999996, z: 1.0000001}
|
||||||
|
- name: Toetip_Left
|
||||||
|
parentName: Toe_Left
|
||||||
|
position: {x: -17.954567, y: -0.038039967, z: 0.4538383}
|
||||||
|
rotation: {x: 0.04162463, y: 0.030676108, z: -0.003480352, w: 0.9986563}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000002, z: 1.0000006}
|
||||||
|
- name: Shield
|
||||||
|
parentName: Hips
|
||||||
|
position: {x: -36.892387, y: -62.87267, z: 21.847818}
|
||||||
|
rotation: {x: 0.0000000074505797, y: -0.16911028, z: -0.00000008940696, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000004, y: 1.0000006, z: 1}
|
||||||
|
- name: Sword
|
||||||
|
parentName: Hips
|
||||||
|
position: {x: -37.368732, y: 86.23419, z: 18.132149}
|
||||||
|
rotation: {x: 0.0000000074505797, y: -0.16911028, z: -0.00000008940696, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000005, y: 1.0000005, z: 1.0000004}
|
||||||
|
- name: UpperLeg_Right
|
||||||
|
parentName: Hips
|
||||||
|
position: {x: 3.5067785, y: 19.9462, z: -1.3763317}
|
||||||
|
rotation: {x: -0.025228024, y: 0.9681315, z: -0.015552506, w: 0.24868283}
|
||||||
|
scale: {x: 1.0000004, y: 1.0000007, z: 1.0000004}
|
||||||
|
- name: LowerLeg_Right
|
||||||
|
parentName: UpperLeg_Right
|
||||||
|
position: {x: -32.819374, y: -1.0658141e-14, z: -3.5527137e-15}
|
||||||
|
rotation: {x: 0.000059747137, y: 0.15988994, z: 0.025033906, w: 0.9868174}
|
||||||
|
scale: {x: 1.0000005, y: 1.0000004, z: 1.0000013}
|
||||||
|
- name: Foot_Right
|
||||||
|
parentName: LowerLeg_Right
|
||||||
|
position: {x: -37.066925, y: -3.5527137e-15, z: 2.7533531e-14}
|
||||||
|
rotation: {x: -0.09970065, y: -0.6316042, z: -0.16588187, w: 0.75074565}
|
||||||
|
scale: {x: 1.0000006, y: 1.0000006, z: 1.0000011}
|
||||||
|
- name: Toe_Right
|
||||||
|
parentName: Foot_Right
|
||||||
|
position: {x: -12.755086, y: -7.1054274e-15, z: -1.2434498e-14}
|
||||||
|
rotation: {x: -0.4975446, y: -0.111791134, z: -0.10089414, w: 0.85426724}
|
||||||
|
scale: {x: 1.0000005, y: 0.99999994, z: 1.0000006}
|
||||||
|
- name: Toetip_Right
|
||||||
|
parentName: Toe_Right
|
||||||
|
position: {x: -17.96039, y: 0, z: 3.5527137e-15}
|
||||||
|
rotation: {x: -0.05678159, y: -0.018067792, z: -0.0037392974, w: 0.99821615}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999994, z: 1.0000005}
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 1
|
||||||
|
skeletonHasParents: 0
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,692 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 215f12aa4e7512d4f97cbf44db79ac76
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 20200
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
1: 100000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
1: 100002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
1: 100004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
1: 100006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
1: 100008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
1: 100010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
1: 100012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
1: 100014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
1: 100016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
1: 100018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
1: 100020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
1: 100030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
1: 100032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
1: 100040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
1: 100042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
1: 100052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
1: 100054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
1: 100056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
1: 100058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
1: 100060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
1: 100070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
1: 100072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
1: 100074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
1: 100076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
4: 400002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
4: 400004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
4: 400006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
4: 400008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
4: 400010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
4: 400012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
4: 400014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
4: 400016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
4: 400018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
4: 400020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
4: 400030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
4: 400032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
4: 400042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
4: 400052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
4: 400054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
4: 400056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
4: 400058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
4: 400060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
4: 400070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
4: 400072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
4: 400074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
4: 400076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
43: 4300000
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
74: 7400000
|
||||||
|
second: defend
|
||||||
|
- first:
|
||||||
|
95: 9500000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
111: 11100000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
137: 13700000
|
||||||
|
second: Footman_Mesh
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 0
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 3
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: defend
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1
|
||||||
|
lastFrame: 30
|
||||||
|
wrapMode: 0
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 1
|
||||||
|
loopBlendPositionY: 1
|
||||||
|
loopBlendPositionXZ: 1
|
||||||
|
keepOriginalOrientation: 1
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 1
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask:
|
||||||
|
- path:
|
||||||
|
weight: 1
|
||||||
|
- path: COB_CTRL
|
||||||
|
weight: 0
|
||||||
|
- path: Footman_Mesh
|
||||||
|
weight: 0
|
||||||
|
- path: Hips
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Shield
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw/J_Tip
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left/Index_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left/RestOfFingers_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left/Thumb_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right/Index_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right/RestOfFingers_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right/Thumb_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Sword
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left/Toetip_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right/Toetip_Right
|
||||||
|
weight: 1
|
||||||
|
maskType: 0
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 1
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 0
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 0
|
||||||
|
importLights: 0
|
||||||
|
fileIdsGeneration: 1
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 1
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 4
|
||||||
|
normalCalculationMode: 0
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 1
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton:
|
||||||
|
- name: footman_defend_01(Clone)
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
scale: {x: 1, y: 1, z: 1}
|
||||||
|
- name: COB_CTRL
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.004, y: 0.65978205, z: -0.17136107}
|
||||||
|
rotation: {x: 0.109584615, y: -0.19028173, z: -0.021376925, w: 0.97536}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.010000001}
|
||||||
|
- name: Footman_Mesh
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: -0, z: 0, w: 1}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Hips
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.004, y: 0.7778548, z: 0.024665937}
|
||||||
|
rotation: {x: 0.11957903, y: 0.11957903, z: -0.6969224, w: 0.6969225}
|
||||||
|
scale: {x: 0.009999998, y: 0.01, z: 0.01}
|
||||||
|
- name: Spine
|
||||||
|
parentName:
|
||||||
|
position: {x: -22.08183, y: 2.7610132e-30, z: 2.789185e-15}
|
||||||
|
rotation: {x: 0.0000000041714956, y: -0.07073019, z: -0.000000041939902, w: 0.9974955}
|
||||||
|
scale: {x: 1, y: 1, z: 0.99999994}
|
||||||
|
- name: Chest
|
||||||
|
parentName:
|
||||||
|
position: {x: -24.493395, y: 4.37078e-15, z: -6.5791713e-15}
|
||||||
|
rotation: {x: 0.000000004171496, y: -0.19267076, z: -0.000000041939906, w: 0.9812635}
|
||||||
|
scale: {x: 0.9999996, y: 0.9999997, z: 1}
|
||||||
|
- name: Neck
|
||||||
|
parentName:
|
||||||
|
position: {x: -31.697706, y: 4.2682918e-15, z: 1.5827795e-14}
|
||||||
|
rotation: {x: -0.0000000021927513, y: 0.1462689, z: 0.000000042089766, w: 0.9892449}
|
||||||
|
scale: {x: 1, y: 1.0000001, z: 1}
|
||||||
|
- name: Head
|
||||||
|
parentName:
|
||||||
|
position: {x: -20.858675, y: 1.02066555e-14, z: 1.3950282e-15}
|
||||||
|
rotation: {x: -0.3823245, y: 0.0000000021927513, z: 0.92402816, w: -0.00000004208977}
|
||||||
|
scale: {x: 0.99999994, y: 0.99999994, z: 1}
|
||||||
|
- name: Jaw
|
||||||
|
parentName:
|
||||||
|
position: {x: -19.492151, y: -4.0412776e-15, z: -4.4981513}
|
||||||
|
rotation: {x: 0.000000017860568, y: 0.09718921, z: -0.00000003817534, w: 0.9952659}
|
||||||
|
scale: {x: 0.99999994, y: 1, z: 0.9999999}
|
||||||
|
- name: J_Tip
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.274182, y: -1.2503675e-14, z: 8.099877}
|
||||||
|
rotation: {x: 0.29965067, y: -0.29965067, z: -0.640476, w: 0.640476}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000002, z: 0.99999994}
|
||||||
|
- name: Shoulder_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98868, y: -31.335035, z: -12.155753}
|
||||||
|
rotation: {x: -0.005294385, y: 0.09098777, z: 0.79941916, w: 0.59382004}
|
||||||
|
scale: {x: 1, y: 1.0000001, z: 1}
|
||||||
|
- name: UpperArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -14.901689, y: 2.842171e-14, z: 8.881784e-16}
|
||||||
|
rotation: {x: 0.026086552, y: -0.1077615, z: -0.16237192, w: 0.9804807}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000001, z: 1.0000001}
|
||||||
|
- name: LowerArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191196, y: 4.842915e-15, z: -2.9871985e-15}
|
||||||
|
rotation: {x: 0.00035524575, y: 0.064626455, z: 0.0047827368, w: 0.99789804}
|
||||||
|
scale: {x: 0.99999976, y: 0.99999994, z: 0.9999999}
|
||||||
|
- name: Hand_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678864, y: -2.7758043e-29, z: 4.869975e-15}
|
||||||
|
rotation: {x: -0.0033529997, y: -0.08887863, z: -0.07221233, w: 0.9934158}
|
||||||
|
scale: {x: 0.99999976, y: 1.0000002, z: 0.9999999}
|
||||||
|
- name: RestOfFingers_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280243, y: -1.6586086e-14, z: -2.029683e-15}
|
||||||
|
rotation: {x: 0.007036325, y: 0.038031258, z: 0.07194682, w: 0.9966583}
|
||||||
|
scale: {x: 1.0000004, y: 0.9999998, z: 1.0000001}
|
||||||
|
- name: RestOfFingers_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.780147, y: 7.67957e-15, z: 3.7027159e-16}
|
||||||
|
rotation: {x: 0.00000001610115, y: 0.029670052, z: 0.0000000140879415, w: 0.99955976}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999999, z: 0.9999999}
|
||||||
|
- name: Index_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.901342, y: 1.1929646e-13, z: 10.104264}
|
||||||
|
rotation: {x: 0.0067923516, y: 0.04141017, z: 0.07197026, w: 0.9965236}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999976, z: 0.9999999}
|
||||||
|
- name: Index_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911482, y: 1.4998595e-14, z: 3.154118e-15}
|
||||||
|
rotation: {x: 0.00000001861509, y: 0.026280912, z: -0.000000012133206, w: 0.9996546}
|
||||||
|
scale: {x: 1, y: 0.9999999, z: 1}
|
||||||
|
- name: Thumb_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0572023, y: -4.708794, z: 9.280683}
|
||||||
|
rotation: {x: -0.06620511, y: 0.36255562, z: 0.15769365, w: 0.9161349}
|
||||||
|
scale: {x: 1.0000004, y: 0.9999999, z: 1.0000002}
|
||||||
|
- name: Thumb_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653726, y: 3.648137e-16, z: 8.5441255e-15}
|
||||||
|
rotation: {x: 0.030814841, y: -0.21547185, z: -0.13817626, w: 0.9661934}
|
||||||
|
scale: {x: 1, y: 1, z: 0.9999999}
|
||||||
|
- name: Shoulder_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98899, y: 31.335, z: -12.155691}
|
||||||
|
rotation: {x: 0.7994112, y: 0.5938308, z: 0.0052922214, w: -0.090987384}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000005, z: 1.0000006}
|
||||||
|
- name: UpperArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 14.901961, y: 0.00046619424, z: 0.000079565914}
|
||||||
|
rotation: {x: 0.10775685, y: 0.026086215, z: -0.98048323, w: -0.16235992}
|
||||||
|
scale: {x: 1, y: 1, z: 0.9999997}
|
||||||
|
- name: LowerArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191166, y: 4.4336893e-14, z: 3.536796e-15}
|
||||||
|
rotation: {x: -0.00035539793, y: -0.06462459, z: 0.0047837608, w: 0.99789816}
|
||||||
|
scale: {x: 1.0000004, y: 1, z: 1.0000002}
|
||||||
|
- name: Hand_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678719, y: 4.5461288e-14, z: -2.7325554e-15}
|
||||||
|
rotation: {x: 0.0033532225, y: 0.08887915, z: -0.072216906, w: 0.99341536}
|
||||||
|
scale: {x: 0.9999994, y: 0.99999994, z: 0.9999992}
|
||||||
|
- name: RestOfFingers_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280209, y: -3.645552e-14, z: 1.8098782e-15}
|
||||||
|
rotation: {x: -0.0070367004, y: -0.03803295, z: 0.07195142, w: 0.9966579}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000004, z: 1.0000005}
|
||||||
|
- name: RestOfFingers_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.7804575, y: 1.3120176e-14, z: -2.045785e-15}
|
||||||
|
rotation: {x: -0.0000000025775735, y: -0.0296687, z: 0.00000004162707, w: 0.9995598}
|
||||||
|
scale: {x: 0.9999997, y: 0.99999994, z: 0.99999976}
|
||||||
|
- name: Index_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.9013, y: -5.4614235e-14, z: -10.104266}
|
||||||
|
rotation: {x: -0.0067927497, y: -0.041411348, z: 0.071974866, w: 0.9965233}
|
||||||
|
scale: {x: 1.0000004, y: 0.9999998, z: 1.0000002}
|
||||||
|
- name: Index_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911691, y: 2.0547315e-15, z: -2.2696136e-15}
|
||||||
|
rotation: {x: -0.000000015177632, y: -0.026280066, z: 0.0000001054477, w: 0.99965465}
|
||||||
|
scale: {x: 0.9999999, y: 1.0000001, z: 0.9999999}
|
||||||
|
- name: Thumb_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0571103, y: -4.7085547, z: -9.280674}
|
||||||
|
rotation: {x: 0.06620065, y: -0.36255434, z: 0.15768968, w: 0.9161363}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000004, z: 1.0000004}
|
||||||
|
- name: Thumb_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653982, y: 2.4461068e-14, z: 1.7784693e-15}
|
||||||
|
rotation: {x: -0.031957757, y: 0.20743091, z: -0.13790222, w: 0.96795356}
|
||||||
|
scale: {x: 0.99999994, y: 1, z: 0.99999994}
|
||||||
|
- name: UpperLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5068195, y: -19.94618, z: -1.3763187}
|
||||||
|
rotation: {x: -0.2414414, y: -0.2406476, z: 0.9400832, w: 0.006198165}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999998, z: 1}
|
||||||
|
- name: LowerLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.81932, y: 2.1316282e-14, z: -8.881784e-15}
|
||||||
|
rotation: {x: -0.000059741335, y: -0.15989012, z: 0.025032552, w: 0.98681736}
|
||||||
|
scale: {x: 1, y: 0.9999998, z: 1}
|
||||||
|
- name: Foot_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066936, y: -1.4210855e-14, z: -4.440892e-15}
|
||||||
|
rotation: {x: 0.31684917, y: 0.6395231, z: -0.10572263, w: 0.6924158}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999976, z: 1.0000002}
|
||||||
|
- name: Toe_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.738982, y: -0.5618247, z: 0.30802163}
|
||||||
|
rotation: {x: 0.4498791, y: 0.11339964, z: -0.102188155, w: 0.8799472}
|
||||||
|
scale: {x: 0.99999994, y: 0.9999998, z: 1}
|
||||||
|
- name: Toetip_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.954567, y: -0.038039967, z: 0.4538383}
|
||||||
|
rotation: {x: 0.041624583, y: 0.03067606, z: -0.0034803154, w: 0.9986562}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999994, z: 1.0000001}
|
||||||
|
- name: Shield
|
||||||
|
parentName:
|
||||||
|
position: {x: -36.94719, y: -62.859154, z: 21.787066}
|
||||||
|
rotation: {x: -2.1986723e-18, y: -0.16911028, z: -0.000000042146848, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 0.9999999}
|
||||||
|
- name: Sword
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.385925, y: 86.25157, z: 18.17991}
|
||||||
|
rotation: {x: -2.1986723e-18, y: -0.16911028, z: -0.000000042146848, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 1.0000001}
|
||||||
|
- name: UpperLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5067785, y: 19.9462, z: -1.3763317}
|
||||||
|
rotation: {x: -0.008172598, y: 0.9452265, z: -0.21804802, w: 0.24276586}
|
||||||
|
scale: {x: 0.9999998, y: 1, z: 0.9999999}
|
||||||
|
- name: LowerLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.819374, y: -1.0658141e-14, z: -3.5527137e-15}
|
||||||
|
rotation: {x: 0.00005974702, y: 0.1598899, z: 0.025033766, w: 0.98681736}
|
||||||
|
scale: {x: 0.99999994, y: 1, z: 0.99999976}
|
||||||
|
- name: Foot_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066925, y: -3.5527137e-15, z: 2.7533531e-14}
|
||||||
|
rotation: {x: -0.2687201, y: -0.6451154, z: -0.057831235, w: 0.7129315}
|
||||||
|
scale: {x: 1.0000001, y: 0.9999999, z: 1.0000002}
|
||||||
|
- name: Toe_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.755086, y: -7.1054274e-15, z: -1.2434498e-14}
|
||||||
|
rotation: {x: -0.49754456, y: -0.111790985, z: -0.10089422, w: 0.8542673}
|
||||||
|
scale: {x: 0.9999998, y: 1, z: 0.99999964}
|
||||||
|
- name: Toetip_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.96039, y: 0, z: 3.5527137e-15}
|
||||||
|
rotation: {x: -0.056781646, y: -0.018067999, z: -0.0037392883, w: 0.9982161}
|
||||||
|
scale: {x: 0.99999994, y: 1.0000001, z: 1.0000001}
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 1
|
||||||
|
skeletonHasParents: 0
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,692 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2e48304a01f069445a83cd957ef136cb
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 20200
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
1: 100000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
1: 100002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
1: 100004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
1: 100006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
1: 100008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
1: 100010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
1: 100012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
1: 100014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
1: 100016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
1: 100018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
1: 100020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
1: 100030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
1: 100032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
1: 100040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
1: 100042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
1: 100052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
1: 100054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
1: 100056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
1: 100058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
1: 100060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
1: 100070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
1: 100072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
1: 100074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
1: 100076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
4: 400002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
4: 400004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
4: 400006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
4: 400008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
4: 400010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
4: 400012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
4: 400014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
4: 400016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
4: 400018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
4: 400020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
4: 400030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
4: 400032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
4: 400042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
4: 400052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
4: 400054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
4: 400056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
4: 400058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
4: 400060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
4: 400070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
4: 400072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
4: 400074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
4: 400076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
43: 4300000
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
74: 7400000
|
||||||
|
second: die
|
||||||
|
- first:
|
||||||
|
95: 9500000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
111: 11100000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
137: 13700000
|
||||||
|
second: Footman_Mesh
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 0
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 3
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: die
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1
|
||||||
|
lastFrame: 23
|
||||||
|
wrapMode: 8
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 0
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 1
|
||||||
|
loopBlendPositionY: 1
|
||||||
|
loopBlendPositionXZ: 1
|
||||||
|
keepOriginalOrientation: 1
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 1
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask:
|
||||||
|
- path:
|
||||||
|
weight: 1
|
||||||
|
- path: COB_CTRL
|
||||||
|
weight: 0
|
||||||
|
- path: Footman_Mesh
|
||||||
|
weight: 0
|
||||||
|
- path: Hips
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Shield
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw/J_Tip
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left/Index_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left/RestOfFingers_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left/Thumb_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right/Index_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right/RestOfFingers_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right/Thumb_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Sword
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left/Toetip_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right/Toetip_Right
|
||||||
|
weight: 1
|
||||||
|
maskType: 0
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 1
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 0
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 0
|
||||||
|
importLights: 0
|
||||||
|
fileIdsGeneration: 1
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 1
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 4
|
||||||
|
normalCalculationMode: 0
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 1
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton:
|
||||||
|
- name: footman_die(Clone)
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
scale: {x: 1, y: 1, z: 1}
|
||||||
|
- name: COB_CTRL
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.004, y: 0.65978205, z: -0.17136107}
|
||||||
|
rotation: {x: 0.109584615, y: -0.19028173, z: -0.021376925, w: 0.97536}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.010000001}
|
||||||
|
- name: Footman_Mesh
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: -0, z: 0, w: 1}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Hips
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.004, y: 0.7778548, z: 0.024665937}
|
||||||
|
rotation: {x: 0.11957903, y: 0.11957903, z: -0.6969224, w: 0.6969225}
|
||||||
|
scale: {x: 0.009999998, y: 0.01, z: 0.01}
|
||||||
|
- name: Spine
|
||||||
|
parentName:
|
||||||
|
position: {x: -22.08183, y: 2.7610132e-30, z: 2.789185e-15}
|
||||||
|
rotation: {x: 0.0000000041714956, y: -0.07073019, z: -0.000000041939902, w: 0.9974955}
|
||||||
|
scale: {x: 1, y: 1, z: 0.99999994}
|
||||||
|
- name: Chest
|
||||||
|
parentName:
|
||||||
|
position: {x: -24.493395, y: 4.37078e-15, z: -6.5791713e-15}
|
||||||
|
rotation: {x: 0.000000004171496, y: -0.19267076, z: -0.000000041939906, w: 0.9812635}
|
||||||
|
scale: {x: 0.9999996, y: 0.9999997, z: 1}
|
||||||
|
- name: Neck
|
||||||
|
parentName:
|
||||||
|
position: {x: -31.697706, y: 4.2682918e-15, z: 1.5827795e-14}
|
||||||
|
rotation: {x: -0.0000000021927513, y: 0.1462689, z: 0.000000042089766, w: 0.9892449}
|
||||||
|
scale: {x: 1, y: 1.0000001, z: 1}
|
||||||
|
- name: Head
|
||||||
|
parentName:
|
||||||
|
position: {x: -20.858675, y: 1.02066555e-14, z: 1.3950282e-15}
|
||||||
|
rotation: {x: -0.3823245, y: 0.0000000021927513, z: 0.92402816, w: -0.00000004208977}
|
||||||
|
scale: {x: 0.99999994, y: 0.99999994, z: 1}
|
||||||
|
- name: Jaw
|
||||||
|
parentName:
|
||||||
|
position: {x: -19.492151, y: -4.0412776e-15, z: -4.4981513}
|
||||||
|
rotation: {x: 0.000000017860568, y: 0.09718921, z: -0.00000003817534, w: 0.9952659}
|
||||||
|
scale: {x: 0.99999994, y: 1, z: 0.9999999}
|
||||||
|
- name: J_Tip
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.274182, y: -1.2503675e-14, z: 8.099877}
|
||||||
|
rotation: {x: 0.29965067, y: -0.29965067, z: -0.640476, w: 0.640476}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000002, z: 0.99999994}
|
||||||
|
- name: Shoulder_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98868, y: -31.335035, z: -12.155753}
|
||||||
|
rotation: {x: -0.005294385, y: 0.09098777, z: 0.79941916, w: 0.59382004}
|
||||||
|
scale: {x: 1, y: 1.0000001, z: 1}
|
||||||
|
- name: UpperArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -14.901689, y: 2.842171e-14, z: 8.881784e-16}
|
||||||
|
rotation: {x: 0.026086552, y: -0.1077615, z: -0.16237192, w: 0.9804807}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000001, z: 1.0000001}
|
||||||
|
- name: LowerArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191196, y: 4.842915e-15, z: -2.9871985e-15}
|
||||||
|
rotation: {x: 0.00035524575, y: 0.064626455, z: 0.0047827368, w: 0.99789804}
|
||||||
|
scale: {x: 0.99999976, y: 0.99999994, z: 0.9999999}
|
||||||
|
- name: Hand_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678864, y: -2.7758043e-29, z: 4.869975e-15}
|
||||||
|
rotation: {x: -0.0033529997, y: -0.08887863, z: -0.07221233, w: 0.9934158}
|
||||||
|
scale: {x: 0.99999976, y: 1.0000002, z: 0.9999999}
|
||||||
|
- name: RestOfFingers_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280243, y: -1.6586086e-14, z: -2.029683e-15}
|
||||||
|
rotation: {x: 0.007036325, y: 0.038031258, z: 0.07194682, w: 0.9966583}
|
||||||
|
scale: {x: 1.0000004, y: 0.9999998, z: 1.0000001}
|
||||||
|
- name: RestOfFingers_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.780147, y: 7.67957e-15, z: 3.7027159e-16}
|
||||||
|
rotation: {x: 0.00000001610115, y: 0.029670052, z: 0.0000000140879415, w: 0.99955976}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999999, z: 0.9999999}
|
||||||
|
- name: Index_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.901342, y: 1.1929646e-13, z: 10.104264}
|
||||||
|
rotation: {x: 0.0067923516, y: 0.04141017, z: 0.07197026, w: 0.9965236}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999976, z: 0.9999999}
|
||||||
|
- name: Index_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911482, y: 1.4998595e-14, z: 3.154118e-15}
|
||||||
|
rotation: {x: 0.00000001861509, y: 0.026280912, z: -0.000000012133206, w: 0.9996546}
|
||||||
|
scale: {x: 1, y: 0.9999999, z: 1}
|
||||||
|
- name: Thumb_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0572023, y: -4.708794, z: 9.280683}
|
||||||
|
rotation: {x: -0.06620511, y: 0.36255562, z: 0.15769365, w: 0.9161349}
|
||||||
|
scale: {x: 1.0000004, y: 0.9999999, z: 1.0000002}
|
||||||
|
- name: Thumb_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653726, y: 3.648137e-16, z: 8.5441255e-15}
|
||||||
|
rotation: {x: 0.030814841, y: -0.21547185, z: -0.13817626, w: 0.9661934}
|
||||||
|
scale: {x: 1, y: 1, z: 0.9999999}
|
||||||
|
- name: Shoulder_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98899, y: 31.335, z: -12.155691}
|
||||||
|
rotation: {x: 0.7994112, y: 0.5938308, z: 0.0052922214, w: -0.090987384}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000005, z: 1.0000006}
|
||||||
|
- name: UpperArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 14.901961, y: 0.00046619424, z: 0.000079565914}
|
||||||
|
rotation: {x: 0.10775685, y: 0.026086215, z: -0.98048323, w: -0.16235992}
|
||||||
|
scale: {x: 1, y: 1, z: 0.99999964}
|
||||||
|
- name: LowerArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191166, y: 4.4336893e-14, z: 3.536796e-15}
|
||||||
|
rotation: {x: -0.00035539793, y: -0.06462459, z: 0.0047837608, w: 0.99789816}
|
||||||
|
scale: {x: 1.0000004, y: 0.99999994, z: 1.0000004}
|
||||||
|
- name: Hand_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678719, y: 4.5461288e-14, z: -2.7325554e-15}
|
||||||
|
rotation: {x: 0.0033532225, y: 0.08887915, z: -0.072216906, w: 0.99341536}
|
||||||
|
scale: {x: 0.9999996, y: 1, z: 0.99999934}
|
||||||
|
- name: RestOfFingers_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280209, y: -3.645552e-14, z: 1.8098782e-15}
|
||||||
|
rotation: {x: -0.0070367004, y: -0.03803295, z: 0.07195142, w: 0.9966579}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000002, z: 1.0000002}
|
||||||
|
- name: RestOfFingers_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.7804575, y: 1.3120176e-14, z: -2.045785e-15}
|
||||||
|
rotation: {x: -0.0000000025775735, y: -0.0296687, z: 0.00000004162707, w: 0.9995598}
|
||||||
|
scale: {x: 0.9999998, y: 1, z: 0.9999999}
|
||||||
|
- name: Index_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.9013, y: -5.4614235e-14, z: -10.104266}
|
||||||
|
rotation: {x: -0.0067927497, y: -0.041411348, z: 0.071974866, w: 0.9965233}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000001, z: 1.0000004}
|
||||||
|
- name: Index_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911691, y: 2.0547315e-15, z: -2.2696136e-15}
|
||||||
|
rotation: {x: -0.000000015177632, y: -0.026280066, z: 0.0000001054477, w: 0.99965465}
|
||||||
|
scale: {x: 0.9999998, y: 1.0000001, z: 0.99999994}
|
||||||
|
- name: Thumb_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0571103, y: -4.7085547, z: -9.280674}
|
||||||
|
rotation: {x: 0.066200666, y: -0.36255416, z: 0.15768969, w: 0.9161365}
|
||||||
|
scale: {x: 1.0000004, y: 1.0000005, z: 1.0000001}
|
||||||
|
- name: Thumb_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653982, y: 2.4461068e-14, z: 1.7784693e-15}
|
||||||
|
rotation: {x: -0.031957757, y: 0.20743091, z: -0.13790222, w: 0.96795356}
|
||||||
|
scale: {x: 0.99999976, y: 0.99999994, z: 0.99999994}
|
||||||
|
- name: UpperLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5068195, y: -19.94618, z: -1.3763187}
|
||||||
|
rotation: {x: -0.2414414, y: -0.2406476, z: 0.9400832, w: 0.006198165}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999998, z: 1}
|
||||||
|
- name: LowerLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.81932, y: 2.1316282e-14, z: -8.881784e-15}
|
||||||
|
rotation: {x: -0.000059741335, y: -0.15989012, z: 0.025032552, w: 0.98681736}
|
||||||
|
scale: {x: 1, y: 0.9999998, z: 1}
|
||||||
|
- name: Foot_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066936, y: -1.4210855e-14, z: -4.440892e-15}
|
||||||
|
rotation: {x: 0.31684917, y: 0.6395231, z: -0.10572263, w: 0.6924158}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999976, z: 1.0000002}
|
||||||
|
- name: Toe_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.738982, y: -0.5618247, z: 0.30802163}
|
||||||
|
rotation: {x: 0.4498791, y: 0.11339964, z: -0.102188155, w: 0.8799472}
|
||||||
|
scale: {x: 0.99999994, y: 0.9999998, z: 1}
|
||||||
|
- name: Toetip_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.954567, y: -0.038039967, z: 0.4538383}
|
||||||
|
rotation: {x: 0.041624583, y: 0.03067606, z: -0.0034803154, w: 0.9986562}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999994, z: 1.0000001}
|
||||||
|
- name: Shield
|
||||||
|
parentName:
|
||||||
|
position: {x: -36.94719, y: -62.859154, z: 21.787066}
|
||||||
|
rotation: {x: -2.1986723e-18, y: -0.16911028, z: -0.000000042146848, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 0.9999999}
|
||||||
|
- name: Sword
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.385925, y: 86.25157, z: 18.17991}
|
||||||
|
rotation: {x: -2.1986723e-18, y: -0.16911028, z: -0.000000042146848, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 1}
|
||||||
|
- name: UpperLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5067785, y: 19.9462, z: -1.3763317}
|
||||||
|
rotation: {x: -0.008172598, y: 0.9452265, z: -0.21804802, w: 0.24276586}
|
||||||
|
scale: {x: 0.9999998, y: 1, z: 0.9999999}
|
||||||
|
- name: LowerLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.819374, y: -1.0658141e-14, z: -3.5527137e-15}
|
||||||
|
rotation: {x: 0.00005974702, y: 0.1598899, z: 0.025033766, w: 0.98681736}
|
||||||
|
scale: {x: 0.99999994, y: 1, z: 0.99999976}
|
||||||
|
- name: Foot_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066925, y: -3.5527137e-15, z: 2.7533531e-14}
|
||||||
|
rotation: {x: -0.2687201, y: -0.6451154, z: -0.057831235, w: 0.7129315}
|
||||||
|
scale: {x: 1.0000001, y: 0.9999999, z: 1.0000002}
|
||||||
|
- name: Toe_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.755086, y: -7.1054274e-15, z: -1.2434498e-14}
|
||||||
|
rotation: {x: -0.49754456, y: -0.111790985, z: -0.10089422, w: 0.8542673}
|
||||||
|
scale: {x: 0.9999998, y: 1, z: 0.99999964}
|
||||||
|
- name: Toetip_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.96039, y: 0, z: 3.5527137e-15}
|
||||||
|
rotation: {x: -0.056781646, y: -0.018067999, z: -0.0037392883, w: 0.9982161}
|
||||||
|
scale: {x: 0.99999994, y: 1.0000001, z: 1.0000001}
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 1
|
||||||
|
skeletonHasParents: 0
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,692 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 22de3beb5b2b58745b1f2da501839c7c
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 20200
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
1: 100000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
1: 100002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
1: 100004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
1: 100006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
1: 100008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
1: 100010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
1: 100012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
1: 100014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
1: 100016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
1: 100018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
1: 100020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
1: 100030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
1: 100032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
1: 100040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
1: 100042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
1: 100052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
1: 100054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
1: 100056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
1: 100058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
1: 100060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
1: 100070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
1: 100072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
1: 100074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
1: 100076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
4: 400002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
4: 400004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
4: 400006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
4: 400008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
4: 400010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
4: 400012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
4: 400014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
4: 400016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
4: 400018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
4: 400020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
4: 400030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
4: 400032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
4: 400042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
4: 400052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
4: 400054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
4: 400056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
4: 400058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
4: 400060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
4: 400070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
4: 400072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
4: 400074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
4: 400076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
43: 4300000
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
74: 7400000
|
||||||
|
second: idle
|
||||||
|
- first:
|
||||||
|
95: 9500000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
111: 11100000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
137: 13700000
|
||||||
|
second: Footman_Mesh
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 1
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 0
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 3
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations:
|
||||||
|
- serializedVersion: 16
|
||||||
|
name: idle
|
||||||
|
takeName: Take 001
|
||||||
|
internalID: 0
|
||||||
|
firstFrame: 1
|
||||||
|
lastFrame: 35
|
||||||
|
wrapMode: 2
|
||||||
|
orientationOffsetY: 0
|
||||||
|
level: 0
|
||||||
|
cycleOffset: 0
|
||||||
|
loop: 0
|
||||||
|
hasAdditiveReferencePose: 0
|
||||||
|
loopTime: 1
|
||||||
|
loopBlend: 0
|
||||||
|
loopBlendOrientation: 1
|
||||||
|
loopBlendPositionY: 1
|
||||||
|
loopBlendPositionXZ: 1
|
||||||
|
keepOriginalOrientation: 1
|
||||||
|
keepOriginalPositionY: 1
|
||||||
|
keepOriginalPositionXZ: 1
|
||||||
|
heightFromFeet: 0
|
||||||
|
mirror: 0
|
||||||
|
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||||
|
curves: []
|
||||||
|
events: []
|
||||||
|
transformMask:
|
||||||
|
- path:
|
||||||
|
weight: 1
|
||||||
|
- path: COB_CTRL
|
||||||
|
weight: 0
|
||||||
|
- path: Footman_Mesh
|
||||||
|
weight: 0
|
||||||
|
- path: Hips
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Shield
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Neck/Head/Jaw/J_Tip
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Index_Proximal_Left/Index_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/RestOfFingers_Proximal_Left/RestOfFingers_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Left/UpperArm_Left/LowerArm_Left/Hand_Left/Thumb_Proximal_Left/Thumb_Intermediate_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Index_Proximal_Right/Index_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/RestOfFingers_Proximal_Right/RestOfFingers_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Spine/Chest/Shoulder_Right/UpperArm_Right/LowerArm_Right/Hand_Right/Thumb_Proximal_Right/Thumb_Intermediate_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/Sword
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Left/LowerLeg_Left/Foot_Left/Toe_Left/Toetip_Left
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right
|
||||||
|
weight: 1
|
||||||
|
- path: Hips/UpperLeg_Right/LowerLeg_Right/Foot_Right/Toe_Right/Toetip_Right
|
||||||
|
weight: 1
|
||||||
|
maskType: 0
|
||||||
|
maskSource: {instanceID: 0}
|
||||||
|
additiveReferencePoseFrame: 0
|
||||||
|
isReadable: 1
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 0
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 0
|
||||||
|
importLights: 0
|
||||||
|
fileIdsGeneration: 1
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 1
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 4
|
||||||
|
normalCalculationMode: 0
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 1
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton:
|
||||||
|
- name: footman_idle(Clone)
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
scale: {x: 1, y: 1, z: 1}
|
||||||
|
- name: COB_CTRL
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.0042852233, y: 0.6601113, z: -0.1711083}
|
||||||
|
rotation: {x: 0.10958317, y: -0.19028348, z: -0.021378642, w: 0.9753598}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Footman_Mesh
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: -0, z: 0, w: 1}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Hips
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.0042852233, y: 0.7778548, z: 0.024665922}
|
||||||
|
rotation: {x: 0.11957903, y: 0.11957903, z: -0.6969224, w: 0.6969225}
|
||||||
|
scale: {x: 0.009999998, y: 0.009999999, z: 0.009999998}
|
||||||
|
- name: Spine
|
||||||
|
parentName:
|
||||||
|
position: {x: -22.08183, y: 2.7610132e-30, z: 2.789185e-15}
|
||||||
|
rotation: {x: 0.0000000041714956, y: -0.07073019, z: -0.000000041939902, w: 0.9974955}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 0.99999994}
|
||||||
|
- name: Chest
|
||||||
|
parentName:
|
||||||
|
position: {x: -24.493395, y: 4.37078e-15, z: -6.5791713e-15}
|
||||||
|
rotation: {x: 0.000000004171496, y: -0.19267076, z: -0.000000041939906, w: 0.9812635}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999998, z: 1}
|
||||||
|
- name: Neck
|
||||||
|
parentName:
|
||||||
|
position: {x: -31.697706, y: 4.2682918e-15, z: 1.5827795e-14}
|
||||||
|
rotation: {x: -0.0000000021927513, y: 0.1462689, z: 0.000000042089766, w: 0.9892449}
|
||||||
|
scale: {x: 0.9999998, y: 1, z: 0.99999994}
|
||||||
|
- name: Head
|
||||||
|
parentName:
|
||||||
|
position: {x: -20.858675, y: 1.02066555e-14, z: 1.3950282e-15}
|
||||||
|
rotation: {x: -0.3823245, y: 0.0000000021927513, z: 0.92402816, w: -0.00000004208977}
|
||||||
|
scale: {x: 1, y: 0.99999994, z: 1}
|
||||||
|
- name: Jaw
|
||||||
|
parentName:
|
||||||
|
position: {x: -19.492151, y: -4.0412776e-15, z: -4.4981513}
|
||||||
|
rotation: {x: 0.000000017860568, y: 0.09718921, z: -0.00000003817534, w: 0.9952659}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 1.0000001}
|
||||||
|
- name: J_Tip
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.274182, y: -1.2503675e-14, z: 8.099877}
|
||||||
|
rotation: {x: 0.29965067, y: -0.29965067, z: -0.640476, w: 0.640476}
|
||||||
|
scale: {x: 1, y: 1, z: 0.99999994}
|
||||||
|
- name: Shoulder_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98868, y: -31.335035, z: -12.155753}
|
||||||
|
rotation: {x: -0.005294429, y: 0.09098784, z: 0.7994192, w: 0.59382}
|
||||||
|
scale: {x: 1, y: 1, z: 0.9999999}
|
||||||
|
- name: UpperArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -14.901689, y: 2.842171e-14, z: 8.881784e-16}
|
||||||
|
rotation: {x: 0.026086558, y: -0.10776169, z: -0.16237192, w: 0.9804807}
|
||||||
|
scale: {x: 0.99999994, y: 0.9999998, z: 1}
|
||||||
|
- name: LowerArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191196, y: 4.842915e-15, z: -2.9871985e-15}
|
||||||
|
rotation: {x: 0.00035525253, y: 0.06462668, z: 0.0047825873, w: 0.99789804}
|
||||||
|
scale: {x: 1, y: 1, z: 1.0000001}
|
||||||
|
- name: Hand_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678864, y: -2.7758043e-29, z: 4.869975e-15}
|
||||||
|
rotation: {x: -0.0033529997, y: -0.08887863, z: -0.07221233, w: 0.9934158}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000001, z: 0.9999998}
|
||||||
|
- name: RestOfFingers_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280243, y: -1.6586086e-14, z: -2.029683e-15}
|
||||||
|
rotation: {x: 0.007036325, y: 0.038031258, z: 0.07194682, w: 0.9966583}
|
||||||
|
scale: {x: 1, y: 1, z: 1.0000001}
|
||||||
|
- name: RestOfFingers_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.780147, y: 7.67957e-15, z: 3.7027159e-16}
|
||||||
|
rotation: {x: 0.00000001610115, y: 0.029670052, z: 0.0000000140879415, w: 0.99955976}
|
||||||
|
scale: {x: 1, y: 0.9999999, z: 0.99999994}
|
||||||
|
- name: Index_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.901342, y: 1.1929646e-13, z: 10.104264}
|
||||||
|
rotation: {x: 0.0067923516, y: 0.04141017, z: 0.07197026, w: 0.9965236}
|
||||||
|
scale: {x: 0.9999999, y: 1, z: 1.0000001}
|
||||||
|
- name: Index_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911482, y: 1.4998595e-14, z: 3.154118e-15}
|
||||||
|
rotation: {x: 0.00000001861509, y: 0.026280912, z: -0.000000012133206, w: 0.9996546}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000001, z: 1}
|
||||||
|
- name: Thumb_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0572023, y: -4.708794, z: 9.280683}
|
||||||
|
rotation: {x: -0.06620513, y: 0.36255512, z: 0.15769364, w: 0.916135}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000001, z: 1.0000002}
|
||||||
|
- name: Thumb_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653726, y: 3.648137e-16, z: 8.5441255e-15}
|
||||||
|
rotation: {x: 0.030814841, y: -0.21547185, z: -0.13817626, w: 0.9661934}
|
||||||
|
scale: {x: 0.9999999, y: 0.99999994, z: 1.0000001}
|
||||||
|
- name: Shoulder_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98899, y: 31.335, z: -12.155691}
|
||||||
|
rotation: {x: 0.79941076, y: 0.5938314, z: 0.005292095, w: -0.09098735}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000004, z: 1.0000002}
|
||||||
|
- name: UpperArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 14.901961, y: 0.00046619424, z: 0.000079565914}
|
||||||
|
rotation: {x: 0.10775659, y: 0.02608616, z: -0.9804833, w: -0.16235952}
|
||||||
|
scale: {x: 1, y: 1, z: 0.9999997}
|
||||||
|
- name: LowerArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191166, y: 4.4336893e-14, z: 3.536796e-15}
|
||||||
|
rotation: {x: -0.00035538155, y: -0.06462456, z: 0.0047837985, w: 0.99789816}
|
||||||
|
scale: {x: 1.0000006, y: 1.0000001, z: 1.0000008}
|
||||||
|
- name: Hand_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678719, y: 4.5461288e-14, z: -2.7325554e-15}
|
||||||
|
rotation: {x: 0.0033532225, y: 0.08887915, z: -0.072216906, w: 0.99341536}
|
||||||
|
scale: {x: 0.99999946, y: 0.99999994, z: 0.99999964}
|
||||||
|
- name: RestOfFingers_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280209, y: -3.645552e-14, z: 1.8098782e-15}
|
||||||
|
rotation: {x: -0.0070367004, y: -0.03803295, z: 0.07195142, w: 0.9966579}
|
||||||
|
scale: {x: 1.0000006, y: 0.9999997, z: 1}
|
||||||
|
- name: RestOfFingers_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.7804575, y: 1.3120176e-14, z: -2.045785e-15}
|
||||||
|
rotation: {x: -0.0000000025775735, y: -0.0296687, z: 0.00000004162707, w: 0.9995598}
|
||||||
|
scale: {x: 0.99999976, y: 1.0000002, z: 1}
|
||||||
|
- name: Index_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.9013, y: -5.4614235e-14, z: -10.104266}
|
||||||
|
rotation: {x: -0.0067927497, y: -0.041411348, z: 0.071974866, w: 0.9965233}
|
||||||
|
scale: {x: 1.0000004, y: 0.99999964, z: 1.0000001}
|
||||||
|
- name: Index_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911691, y: 2.0547315e-15, z: -2.2696136e-15}
|
||||||
|
rotation: {x: -0.000000015177632, y: -0.026280066, z: 0.0000001054477, w: 0.99965465}
|
||||||
|
scale: {x: 1, y: 1.0000002, z: 1.0000002}
|
||||||
|
- name: Thumb_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0571103, y: -4.7085547, z: -9.280674}
|
||||||
|
rotation: {x: 0.066200264, y: -0.36255375, z: 0.15769042, w: 0.9161365}
|
||||||
|
scale: {x: 1.0000004, y: 1, z: 1.0000004}
|
||||||
|
- name: Thumb_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653982, y: 2.4461068e-14, z: 1.7784693e-15}
|
||||||
|
rotation: {x: -0.031957757, y: 0.20743091, z: -0.13790222, w: 0.96795356}
|
||||||
|
scale: {x: 1.0000002, y: 1, z: 0.99999976}
|
||||||
|
- name: UpperLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5068195, y: -19.94618, z: -1.3763187}
|
||||||
|
rotation: {x: -0.24868298, y: -0.0155566, z: 0.9681314, w: 0.025227528}
|
||||||
|
scale: {x: 0.9999998, y: 0.9999998, z: 0.99999994}
|
||||||
|
- name: LowerLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.81932, y: 2.1316282e-14, z: -8.881784e-15}
|
||||||
|
rotation: {x: -0.000059746817, y: -0.15989009, z: 0.025032653, w: 0.98681736}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999994, z: 1.0000001}
|
||||||
|
- name: Foot_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066936, y: -1.4210855e-14, z: -4.440892e-15}
|
||||||
|
rotation: {x: 0.13149361, y: 0.6137422, z: -0.22415833, w: 0.7455086}
|
||||||
|
scale: {x: 0.99999994, y: 1.0000001, z: 0.9999998}
|
||||||
|
- name: Toe_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.738982, y: -0.5618247, z: 0.30802163}
|
||||||
|
rotation: {x: 0.44987908, y: 0.11339966, z: -0.102188185, w: 0.8799471}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999994, z: 1}
|
||||||
|
- name: Toetip_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.954567, y: -0.038039967, z: 0.4538383}
|
||||||
|
rotation: {x: 0.041624524, y: 0.03067606, z: -0.0034802542, w: 0.9986562}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 1}
|
||||||
|
- name: Shield
|
||||||
|
parentName:
|
||||||
|
position: {x: -36.892387, y: -62.87267, z: 21.847818}
|
||||||
|
rotation: {x: -2.1986723e-18, y: -0.16911028, z: -0.000000042146848, w: 0.98559713}
|
||||||
|
scale: {x: 1, y: 0.9999999, z: 0.99999994}
|
||||||
|
- name: Sword
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.368732, y: 86.23419, z: 18.132149}
|
||||||
|
rotation: {x: -2.1986723e-18, y: -0.16911028, z: -0.000000042146848, w: 0.98559713}
|
||||||
|
scale: {x: 1, y: 0.9999999, z: 1.0000001}
|
||||||
|
- name: UpperLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5067785, y: 19.9462, z: -1.3763317}
|
||||||
|
rotation: {x: -0.025228102, y: 0.96813154, z: -0.015552519, w: 0.24868284}
|
||||||
|
scale: {x: 0.9999997, y: 0.9999999, z: 0.9999998}
|
||||||
|
- name: LowerLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.819374, y: -1.0658141e-14, z: -3.5527137e-15}
|
||||||
|
rotation: {x: 0.000059737282, y: 0.15988994, z: 0.025033912, w: 0.9868174}
|
||||||
|
scale: {x: 0.99999976, y: 0.9999997, z: 0.99999976}
|
||||||
|
- name: Foot_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066925, y: -3.5527137e-15, z: 2.7533531e-14}
|
||||||
|
rotation: {x: -0.099700645, y: -0.6316042, z: -0.16588186, w: 0.75074565}
|
||||||
|
scale: {x: 1.0000004, y: 1, z: 1.0000001}
|
||||||
|
- name: Toe_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.755086, y: -7.1054274e-15, z: -1.2434498e-14}
|
||||||
|
rotation: {x: -0.4975446, y: -0.11179101, z: -0.1008942, w: 0.8542673}
|
||||||
|
scale: {x: 0.99999994, y: 1.0000002, z: 0.9999998}
|
||||||
|
- name: Toetip_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.96039, y: 0, z: 3.5527137e-15}
|
||||||
|
rotation: {x: -0.056781564, y: -0.018067915, z: -0.0037393095, w: 0.9982161}
|
||||||
|
scale: {x: 1.0000002, y: 1, z: 1.0000004}
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 1
|
||||||
|
skeletonHasParents: 0
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b00a0b059b3307141b48c0a0b5defa26
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1472874817
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,845 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 46783dc54d7600447880ab6f35037fb4
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 19301
|
||||||
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
1: 100000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
1: 100002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
1: 100004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
1: 100006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
1: 100008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
1: 100010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
1: 100012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
1: 100014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
1: 100016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
1: 100018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
1: 100020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
1: 100030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
1: 100032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
1: 100040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
1: 100042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
1: 100052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
1: 100054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
1: 100056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
1: 100058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
1: 100060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
1: 100062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
1: 100064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
1: 100066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
1: 100068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
1: 100070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
1: 100072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
1: 100074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
1: 100076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
1: 100078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
1: 100080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
1: 100082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400000
|
||||||
|
second: Chest
|
||||||
|
- first:
|
||||||
|
4: 400002
|
||||||
|
second: COB_CTRL
|
||||||
|
- first:
|
||||||
|
4: 400004
|
||||||
|
second: Foot_Left
|
||||||
|
- first:
|
||||||
|
4: 400006
|
||||||
|
second: Foot_Right
|
||||||
|
- first:
|
||||||
|
4: 400008
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
4: 400010
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
4: 400012
|
||||||
|
second: Hand_Left
|
||||||
|
- first:
|
||||||
|
4: 400014
|
||||||
|
second: Hand_Right
|
||||||
|
- first:
|
||||||
|
4: 400016
|
||||||
|
second: Head
|
||||||
|
- first:
|
||||||
|
4: 400018
|
||||||
|
second: Hips
|
||||||
|
- first:
|
||||||
|
4: 400020
|
||||||
|
second: Index_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400022
|
||||||
|
second: Index_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400024
|
||||||
|
second: Index_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400026
|
||||||
|
second: Index_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400028
|
||||||
|
second: J_Tip
|
||||||
|
- first:
|
||||||
|
4: 400030
|
||||||
|
second: Jaw
|
||||||
|
- first:
|
||||||
|
4: 400032
|
||||||
|
second: LowerArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400034
|
||||||
|
second: LowerArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400036
|
||||||
|
second: LowerLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400038
|
||||||
|
second: LowerLeg_Right
|
||||||
|
- first:
|
||||||
|
4: 400040
|
||||||
|
second: Neck
|
||||||
|
- first:
|
||||||
|
4: 400042
|
||||||
|
second: RestOfFingers_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400044
|
||||||
|
second: RestOfFingers_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400046
|
||||||
|
second: RestOfFingers_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400048
|
||||||
|
second: RestOfFingers_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400050
|
||||||
|
second: Shield
|
||||||
|
- first:
|
||||||
|
4: 400052
|
||||||
|
second: Shoulder_Left
|
||||||
|
- first:
|
||||||
|
4: 400054
|
||||||
|
second: Shoulder_Right
|
||||||
|
- first:
|
||||||
|
4: 400056
|
||||||
|
second: Spine
|
||||||
|
- first:
|
||||||
|
4: 400058
|
||||||
|
second: Sword
|
||||||
|
- first:
|
||||||
|
4: 400060
|
||||||
|
second: Thumb_Intermediate_Left
|
||||||
|
- first:
|
||||||
|
4: 400062
|
||||||
|
second: Thumb_Intermediate_Right
|
||||||
|
- first:
|
||||||
|
4: 400064
|
||||||
|
second: Thumb_Proximal_Left
|
||||||
|
- first:
|
||||||
|
4: 400066
|
||||||
|
second: Thumb_Proximal_Right
|
||||||
|
- first:
|
||||||
|
4: 400068
|
||||||
|
second: Toe_Left
|
||||||
|
- first:
|
||||||
|
4: 400070
|
||||||
|
second: Toe_Right
|
||||||
|
- first:
|
||||||
|
4: 400072
|
||||||
|
second: Toetip_Left
|
||||||
|
- first:
|
||||||
|
4: 400074
|
||||||
|
second: Toetip_Right
|
||||||
|
- first:
|
||||||
|
4: 400076
|
||||||
|
second: UpperArm_Left
|
||||||
|
- first:
|
||||||
|
4: 400078
|
||||||
|
second: UpperArm_Right
|
||||||
|
- first:
|
||||||
|
4: 400080
|
||||||
|
second: UpperLeg_Left
|
||||||
|
- first:
|
||||||
|
4: 400082
|
||||||
|
second: UpperLeg_Right
|
||||||
|
- first:
|
||||||
|
43: 4300000
|
||||||
|
second: Footman_Mesh
|
||||||
|
- first:
|
||||||
|
95: 9500000
|
||||||
|
second: //RootNode
|
||||||
|
- first:
|
||||||
|
137: 13700000
|
||||||
|
second: Footman_Mesh
|
||||||
|
externalObjects:
|
||||||
|
- first:
|
||||||
|
type: UnityEngine:Material
|
||||||
|
assembly: UnityEngine.CoreModule
|
||||||
|
name: Footman1
|
||||||
|
second: {fileID: 2100000, guid: 08e31e73bd7577d48b36535ac3828d5d, type: 2}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 0
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 0
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
motionNodeName:
|
||||||
|
rigImportErrors:
|
||||||
|
rigImportWarnings:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 3
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 1
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importVisibility: 0
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 0
|
||||||
|
importLights: 0
|
||||||
|
fileIdsGeneration: 1
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 1
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 0
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 1
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 0
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human:
|
||||||
|
- boneName: Hips
|
||||||
|
humanName: Hips
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: UpperLeg_Left
|
||||||
|
humanName: LeftUpperLeg
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: UpperLeg_Right
|
||||||
|
humanName: RightUpperLeg
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: LowerLeg_Left
|
||||||
|
humanName: LeftLowerLeg
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: LowerLeg_Right
|
||||||
|
humanName: RightLowerLeg
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Foot_Left
|
||||||
|
humanName: LeftFoot
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Foot_Right
|
||||||
|
humanName: RightFoot
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Spine
|
||||||
|
humanName: Spine
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Chest
|
||||||
|
humanName: Chest
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Neck
|
||||||
|
humanName: Neck
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Head
|
||||||
|
humanName: Head
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Shoulder_Left
|
||||||
|
humanName: LeftShoulder
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Shoulder_Right
|
||||||
|
humanName: RightShoulder
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: UpperArm_Left
|
||||||
|
humanName: LeftUpperArm
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: UpperArm_Right
|
||||||
|
humanName: RightUpperArm
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: LowerArm_Left
|
||||||
|
humanName: LeftLowerArm
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: LowerArm_Right
|
||||||
|
humanName: RightLowerArm
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Hand_Left
|
||||||
|
humanName: LeftHand
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Hand_Right
|
||||||
|
humanName: RightHand
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Toe_Left
|
||||||
|
humanName: LeftToes
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Toe_Right
|
||||||
|
humanName: RightToes
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Jaw
|
||||||
|
humanName: Jaw
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Thumb_Proximal_Left
|
||||||
|
humanName: Left Thumb Proximal
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Thumb_Intermediate_Left
|
||||||
|
humanName: Left Thumb Intermediate
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Index_Proximal_Left
|
||||||
|
humanName: Left Index Proximal
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Index_Intermediate_Left
|
||||||
|
humanName: Left Index Intermediate
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: RestOfFingers_Proximal_Left
|
||||||
|
humanName: Left Little Proximal
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: RestOfFingers_Intermediate_Left
|
||||||
|
humanName: Left Little Intermediate
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Thumb_Proximal_Right
|
||||||
|
humanName: Right Thumb Proximal
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Thumb_Intermediate_Right
|
||||||
|
humanName: Right Thumb Intermediate
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Index_Proximal_Right
|
||||||
|
humanName: Right Index Proximal
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: Index_Intermediate_Right
|
||||||
|
humanName: Right Index Intermediate
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: RestOfFingers_Proximal_Right
|
||||||
|
humanName: Right Little Proximal
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
- boneName: RestOfFingers_Intermediate_Right
|
||||||
|
humanName: Right Little Intermediate
|
||||||
|
limit:
|
||||||
|
min: {x: 0, y: 0, z: 0}
|
||||||
|
max: {x: 0, y: 0, z: 0}
|
||||||
|
value: {x: 0, y: 0, z: 0}
|
||||||
|
length: 0
|
||||||
|
modified: 0
|
||||||
|
skeleton:
|
||||||
|
- name: footman(Clone)
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
scale: {x: 1, y: 1, z: 1}
|
||||||
|
- name: COB_CTRL
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.004, y: 0.65978205, z: -0.17136107}
|
||||||
|
rotation: {x: 0.109584615, y: -0.19028173, z: -0.021376925, w: 0.97536}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Footman_Mesh
|
||||||
|
parentName:
|
||||||
|
position: {x: 0, y: 0, z: 0}
|
||||||
|
rotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
scale: {x: 0.01, y: 0.01, z: 0.01}
|
||||||
|
- name: Hips
|
||||||
|
parentName:
|
||||||
|
position: {x: 0.004, y: 0.7778548, z: 0.024665922}
|
||||||
|
rotation: {x: 0.119579025, y: 0.119579025, z: -0.69692236, w: 0.6969224}
|
||||||
|
scale: {x: 0.009999997, y: 0.01, z: 0.01}
|
||||||
|
- name: Spine
|
||||||
|
parentName:
|
||||||
|
position: {x: -22.08183, y: 2.7610132e-30, z: 2.789185e-15}
|
||||||
|
rotation: {x: 0.0000000037252903, y: -0.070730194, z: -0.000000059604645, w: 0.99749553}
|
||||||
|
scale: {x: 1.0000004, y: 1.0000002, z: 1}
|
||||||
|
- name: Chest
|
||||||
|
parentName:
|
||||||
|
position: {x: -24.493395, y: 4.37078e-15, z: -6.5791713e-15}
|
||||||
|
rotation: {x: 0.000000026077032, y: -0.19267073, z: -9.313226e-10, w: 0.9812635}
|
||||||
|
scale: {x: 0.9999999, y: 0.99999994, z: 0.99999994}
|
||||||
|
- name: Neck
|
||||||
|
parentName:
|
||||||
|
position: {x: -31.697706, y: 4.2682918e-15, z: 1.5827795e-14}
|
||||||
|
rotation: {x: -0.000000029802322, y: 0.14626889, z: -0.0000000011641532, w: 0.98924494}
|
||||||
|
scale: {x: 1, y: 1.0000002, z: 0.99999994}
|
||||||
|
- name: Head
|
||||||
|
parentName:
|
||||||
|
position: {x: -20.858675, y: 1.02066555e-14, z: 1.3950282e-15}
|
||||||
|
rotation: {x: -0.38232452, y: -0.000000014901159, z: 0.92402816, w: -0.000000029802319}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999999, z: 1}
|
||||||
|
- name: Jaw
|
||||||
|
parentName:
|
||||||
|
position: {x: -19.492151, y: -4.0412776e-15, z: -4.4981513}
|
||||||
|
rotation: {x: 0, y: 0.09718922, z: 0.000000029802319, w: 0.99526596}
|
||||||
|
scale: {x: 1, y: 0.99999994, z: 0.9999999}
|
||||||
|
- name: J_Tip
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.274182, y: -1.2503675e-14, z: 8.099877}
|
||||||
|
rotation: {x: 0.29965064, y: -0.29965067, z: -0.640476, w: 0.6404759}
|
||||||
|
scale: {x: 1.0000005, y: 1.0000001, z: 1.0000002}
|
||||||
|
- name: Shoulder_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98868, y: -31.335035, z: -12.155753}
|
||||||
|
rotation: {x: -0.005294334, y: 0.09098781, z: 0.79941905, w: 0.5938203}
|
||||||
|
scale: {x: 1, y: 0.9999998, z: 1}
|
||||||
|
- name: UpperArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -14.901689, y: 2.842171e-14, z: 8.881784e-16}
|
||||||
|
rotation: {x: 0.02608649, y: -0.107761435, z: -0.16237162, w: 0.9804808}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000001, z: 1}
|
||||||
|
- name: LowerArm_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191196, y: 4.842915e-15, z: -2.9871985e-15}
|
||||||
|
rotation: {x: 0.00035528588, y: 0.064626664, z: 0.004782589, w: 0.99789804}
|
||||||
|
scale: {x: 0.9999998, y: 1.0000001, z: 1}
|
||||||
|
- name: Hand_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678864, y: -2.7758043e-29, z: 4.869975e-15}
|
||||||
|
rotation: {x: -0.0033529915, y: -0.08887862, z: -0.07221227, w: 0.9934157}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999994, z: 0.99999976}
|
||||||
|
- name: RestOfFingers_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280243, y: -1.6586086e-14, z: -2.029683e-15}
|
||||||
|
rotation: {x: 0.007036331, y: 0.038031265, z: 0.07194678, w: 0.9966584}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000002, z: 1.0000002}
|
||||||
|
- name: RestOfFingers_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.780147, y: 7.67957e-15, z: 3.7027159e-16}
|
||||||
|
rotation: {x: -0.0000000074505815, y: 0.029670015, z: 0.00000008381901, w: 0.99955976}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999998, z: 0.99999976}
|
||||||
|
- name: Index_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.901342, y: 1.1929646e-13, z: 10.104264}
|
||||||
|
rotation: {x: 0.0067923577, y: 0.041410178, z: 0.07197022, w: 0.9965237}
|
||||||
|
scale: {x: 0.99999976, y: 1.0000002, z: 1.0000001}
|
||||||
|
- name: Index_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911482, y: 1.4998595e-14, z: 3.154118e-15}
|
||||||
|
rotation: {x: -0.0000000074505797, y: 0.026280899, z: 0.000000013969837, w: 0.99965465}
|
||||||
|
scale: {x: 1.0000001, y: 0.9999999, z: 1.0000001}
|
||||||
|
- name: Thumb_Proximal_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0572023, y: -4.708794, z: 9.280683}
|
||||||
|
rotation: {x: -0.06620525, y: 0.36255533, z: 0.15769345, w: 0.916135}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999994, z: 1}
|
||||||
|
- name: Thumb_Intermediate_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653726, y: 3.648137e-16, z: 8.5441255e-15}
|
||||||
|
rotation: {x: 0.030814871, y: -0.21547191, z: -0.13817623, w: 0.9661934}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
|
||||||
|
- name: Shoulder_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.98899, y: 31.335, z: -12.155691}
|
||||||
|
rotation: {x: 0.799411, y: 0.5938312, z: 0.0052921325, w: -0.090987325}
|
||||||
|
scale: {x: 1, y: 1, z: 1}
|
||||||
|
- name: UpperArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 14.901961, y: 0.00046619424, z: 0.000079565914}
|
||||||
|
rotation: {x: 0.10775672, y: 0.026086168, z: -0.98048323, w: -0.16235963}
|
||||||
|
scale: {x: 0.99999934, y: 0.99999994, z: 0.99999964}
|
||||||
|
- name: LowerArm_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.191166, y: 4.4336893e-14, z: 3.536796e-15}
|
||||||
|
rotation: {x: -0.0003553833, y: -0.064624555, z: 0.0047839778, w: 0.9978981}
|
||||||
|
scale: {x: 1.0000002, y: 1, z: 1.0000006}
|
||||||
|
- name: Hand_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -29.678719, y: 4.5461288e-14, z: -2.7325554e-15}
|
||||||
|
rotation: {x: 0.0033531855, y: 0.0888791, z: -0.072216876, w: 0.99341536}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
|
||||||
|
- name: RestOfFingers_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -18.280209, y: -3.645552e-14, z: 1.8098782e-15}
|
||||||
|
rotation: {x: -0.0070367246, y: -0.038032945, z: 0.071951374, w: 0.99665797}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999976, z: 1.0000001}
|
||||||
|
- name: RestOfFingers_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -8.7804575, y: 1.3120176e-14, z: -2.045785e-15}
|
||||||
|
rotation: {x: 0.000000031364543, y: -0.029668666, z: 0.00000009314987, w: 0.9995598}
|
||||||
|
scale: {x: 0.9999999, y: 0.9999998, z: 0.99999994}
|
||||||
|
- name: Index_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -16.9013, y: -5.4614235e-14, z: -10.104266}
|
||||||
|
rotation: {x: -0.006792773, y: -0.04141134, z: 0.07197482, w: 0.9965233}
|
||||||
|
scale: {x: 1.0000001, y: 0.9999995, z: 0.99999994}
|
||||||
|
- name: Index_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -9.911691, y: 2.0547315e-15, z: -2.2696136e-15}
|
||||||
|
rotation: {x: 0.00000006863483, y: -0.026280055, z: 0.000000066069994, w: 0.9996546}
|
||||||
|
scale: {x: 0.9999999, y: 1.0000005, z: 1.0000002}
|
||||||
|
- name: Thumb_Proximal_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -7.0571103, y: -4.7085547, z: -9.280674}
|
||||||
|
rotation: {x: 0.06620009, y: -0.36255378, z: 0.15769039, w: 0.9161365}
|
||||||
|
scale: {x: 1.0000002, y: 0.99999976, z: 0.9999999}
|
||||||
|
- name: Thumb_Intermediate_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -10.653982, y: 2.4461068e-14, z: 1.7784693e-15}
|
||||||
|
rotation: {x: -0.03195776, y: 0.20743091, z: -0.13790223, w: 0.9679536}
|
||||||
|
scale: {x: 0.99999994, y: 0.9999999, z: 0.9999998}
|
||||||
|
- name: UpperLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5068195, y: -19.94618, z: -1.3763187}
|
||||||
|
rotation: {x: -0.24144138, y: -0.24064758, z: 0.94008315, w: 0.006198168}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000004, z: 1}
|
||||||
|
- name: LowerLeg_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.81932, y: 2.1316282e-14, z: -8.881784e-15}
|
||||||
|
rotation: {x: -0.000059694055, y: -0.15989012, z: 0.025032662, w: 0.98681736}
|
||||||
|
scale: {x: 0.99999994, y: 0.99999976, z: 0.99999976}
|
||||||
|
- name: Foot_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066936, y: -1.4210855e-14, z: -4.440892e-15}
|
||||||
|
rotation: {x: 0.31684923, y: 0.63952297, z: -0.10572273, w: 0.6924158}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999994, z: 1.0000001}
|
||||||
|
- name: Toe_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.738982, y: -0.5618247, z: 0.30802163}
|
||||||
|
rotation: {x: 0.44987902, y: 0.113399684, z: -0.10218826, w: 0.8799471}
|
||||||
|
scale: {x: 1.0000001, y: 0.99999976, z: 1.0000001}
|
||||||
|
- name: Toetip_Left
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.954567, y: -0.038039967, z: 0.4538383}
|
||||||
|
rotation: {x: 0.041624516, y: 0.030675909, z: -0.0034803369, w: 0.9986563}
|
||||||
|
scale: {x: 0.9999999, y: 1.0000002, z: 1}
|
||||||
|
- name: Shield
|
||||||
|
parentName:
|
||||||
|
position: {x: -36.94719, y: -62.859154, z: 21.787066}
|
||||||
|
rotation: {x: 1.5045698e-16, y: -0.16911028, z: -0.000000029802322, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000002, y: 1.0000001, z: 0.9999999}
|
||||||
|
- name: Sword
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.385925, y: 86.25157, z: 18.17991}
|
||||||
|
rotation: {x: 1.5045698e-16, y: -0.16911028, z: -0.000000029802322, w: 0.98559713}
|
||||||
|
scale: {x: 1.0000001, y: 1.0000002, z: 0.9999997}
|
||||||
|
- name: UpperLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: 3.5067785, y: 19.9462, z: -1.3763317}
|
||||||
|
rotation: {x: -0.008172602, y: 0.94522643, z: -0.21804802, w: 0.24276586}
|
||||||
|
scale: {x: 1.0000002, y: 1, z: 0.99999994}
|
||||||
|
- name: LowerLeg_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -32.819374, y: -1.0658141e-14, z: -3.5527137e-15}
|
||||||
|
rotation: {x: 0.000059738748, y: 0.15988989, z: 0.025033798, w: 0.98681736}
|
||||||
|
scale: {x: 1, y: 1.0000002, z: 1.0000004}
|
||||||
|
- name: Foot_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -37.066925, y: -3.5527137e-15, z: 2.7533531e-14}
|
||||||
|
rotation: {x: -0.26872012, y: -0.6451153, z: -0.057831265, w: 0.71293145}
|
||||||
|
scale: {x: 0.9999998, y: 0.99999994, z: 1.0000002}
|
||||||
|
- name: Toe_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -12.755086, y: -7.1054274e-15, z: -1.2434498e-14}
|
||||||
|
rotation: {x: -0.49754456, y: -0.11179102, z: -0.100894146, w: 0.8542673}
|
||||||
|
scale: {x: 0.99999994, y: 1, z: 0.9999999}
|
||||||
|
- name: Toetip_Right
|
||||||
|
parentName:
|
||||||
|
position: {x: -17.96039, y: 0, z: 3.5527137e-15}
|
||||||
|
rotation: {x: -0.056781534, y: -0.018067764, z: -0.0037393547, w: 0.99821615}
|
||||||
|
scale: {x: 1.0000001, y: 1, z: 1.0000002}
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 0
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 3
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 1
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d5d32c49e9e2b8641913f92c21fdeae5
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1472822385
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: footmanPBRBlue
|
||||||
|
m_Shader: {fileID: 4800000, guid: ba67c8b1d5e59dc428ad9fc9270f8353, type: 3}
|
||||||
|
m_ShaderKeywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP
|
||||||
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 155669a9b0a05114ca27956a712a7ed2, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: b5a8e53d5afa56f4283dbf9fa3bf7c09, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: d23e16951fe89764d802a88eb08211ac, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _NormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 2007d7e43ac865b46a49d307a65e7420, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _AmbiencePower: 1
|
||||||
|
- _Brightness: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ColorToggle: 0
|
||||||
|
- _Contrast: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _Detail: 0
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DetailStrength: 1
|
||||||
|
- _DiffusePower: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _Emission: 0
|
||||||
|
- _EmissionStrength: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Mask: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _Normal: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Phong: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SpecularPower: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _PointLightColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _PointLightPosition: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 892c139d6ce687b478eab700aa1871f2
|
||||||
|
timeCreated: 1472890932
|
||||||
|
licenseType: Store
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: footmanPBRGreen
|
||||||
|
m_Shader: {fileID: 4800000, guid: ba67c8b1d5e59dc428ad9fc9270f8353, type: 3}
|
||||||
|
m_ShaderKeywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP
|
||||||
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 2664826f8af53dd489a6f8450583d6a5, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 7b2f8bba9d28bd947899d272eb204b50, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: d7e9e7f50b84b934993f51bd14182054, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _NormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 5ed0ec20dec62a947beac9b6ca2d0cfd, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _AmbiencePower: 1
|
||||||
|
- _Brightness: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ColorToggle: 0
|
||||||
|
- _Contrast: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _Detail: 0
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DetailStrength: 1
|
||||||
|
- _DiffusePower: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _Emission: 0
|
||||||
|
- _EmissionStrength: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Mask: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _Normal: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Phong: 0
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SpecularPower: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _PointLightColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _PointLightPosition: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a8c3708594c30d941ba3b6fe54531dbd
|
||||||
|
timeCreated: 1472890955
|
||||||
|
licenseType: Store
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1ebc56f909d7844459c044fc161958d3
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1471913701
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f170503a39165f4faa3891b144780c8
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1472891111
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 215 KiB |
@@ -0,0 +1,121 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2007d7e43ac865b46a49d307a65e7420
|
||||||
|
TextureImporter:
|
||||||
|
fileIDToRecycleName: {}
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 9
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: -1
|
||||||
|
aniso: -1
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: -1
|
||||||
|
wrapV: -1
|
||||||
|
wrapW: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 0
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 0
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 512
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 12
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 512
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 47
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 435 KiB |
@@ -0,0 +1,121 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b5a8e53d5afa56f4283dbf9fa3bf7c09
|
||||||
|
TextureImporter:
|
||||||
|
fileIDToRecycleName: {}
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 9
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: -1
|
||||||
|
aniso: -1
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: -1
|
||||||
|
wrapV: -1
|
||||||
|
wrapW: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 0
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 0
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 512
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 10
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: iPhone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 512
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: 34
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 1
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID:
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 186 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user