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:
@@ -2,62 +2,61 @@
|
||||
|
||||
namespace YooAsset.Editor
|
||||
{
|
||||
public class WindowsDefine
|
||||
{
|
||||
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)
|
||||
};
|
||||
/// <summary>
|
||||
/// 停靠窗口类型集合
|
||||
/// </summary>
|
||||
public static readonly Type[] DockedWindowTypes =
|
||||
{
|
||||
typeof(AssetBundleBuilderWindow),
|
||||
typeof(AssetBundleCollectorWindow),
|
||||
typeof(AssetBundleDebuggerWindow),
|
||||
typeof(AssetBundleReporterWindow)
|
||||
};
|
||||
#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 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,
|
||||
}
|
||||
/// <summary>
|
||||
/// 资源文件格式
|
||||
/// </summary>
|
||||
public enum EAssetFileExtension
|
||||
{
|
||||
prefab,
|
||||
unity,
|
||||
fbx,
|
||||
anim,
|
||||
controller,
|
||||
png,
|
||||
jpg,
|
||||
mat,
|
||||
shader,
|
||||
ttf,
|
||||
cs,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user