更新Demo

更新Demo
This commit is contained in:
ALEXTANG
2023-12-20 12:14:27 +08:00
parent f64bb37706
commit 17a5d7425c
847 changed files with 106095 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
using System;
namespace YooAsset.Editor
{
public class WindowsDefine
{
#if UNITY_2019_4_OR_NEWER
/// <summary>
/// 停靠窗口类型集合
/// </summary>
public static readonly Type[] DockedWindowTypes =
{
typeof(AssetBundleBuilderWindow),
typeof(AssetBundleCollectorWindow),
typeof(AssetBundleDebuggerWindow),
typeof(AssetBundleReporterWindow),
typeof(ShaderVariantCollectorWindow)
};
#endif
}
/// <summary>
/// 资源搜索类型
/// </summary>
public enum EAssetSearchType
{
All,
RuntimeAnimatorController,
AnimationClip,
AudioClip,
AudioMixer,
Font,
Material,
Mesh,
Model,
PhysicMaterial,
Prefab,
Scene,
Script,
Shader,
Sprite,
Texture,
VideoClip,
}
/// <summary>
/// 资源文件格式
/// </summary>
public enum EAssetFileExtension
{
prefab,
unity,
fbx,
anim,
controller,
png,
jpg,
mat,
shader,
ttf,
cs,
}
}