mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
更新Demo
更新Demo
This commit is contained in:
63
UnityProject/Packages/YooAsset/Editor/EditorDefine.cs
Normal file
63
UnityProject/Packages/YooAsset/Editor/EditorDefine.cs
Normal 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,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user