EditorDefine.cs 859 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. namespace YooAsset.Editor
  3. {
  4. public class EditorDefine
  5. {
  6. #if UNITY_2019_4_OR_NEWER
  7. /// <summary>
  8. /// 停靠窗口类型集合
  9. /// </summary>
  10. public static readonly Type[] DockedWindowTypes = { typeof(AssetBundleBuilderWindow), typeof(AssetBundleCollectorWindow), typeof(AssetBundleDebuggerWindow), typeof(AssetBundleReporterWindow)};
  11. #endif
  12. }
  13. /// <summary>
  14. /// 资源搜索类型
  15. /// </summary>
  16. public enum EAssetSearchType
  17. {
  18. All,
  19. RuntimeAnimatorController,
  20. AnimationClip,
  21. AudioClip,
  22. AudioMixer,
  23. Font,
  24. Material,
  25. Mesh,
  26. Model,
  27. PhysicMaterial,
  28. Prefab,
  29. Scene,
  30. Script,
  31. Shader,
  32. Sprite,
  33. Texture,
  34. VideoClip,
  35. }
  36. /// <summary>
  37. /// 资源文件格式
  38. /// </summary>
  39. public enum EAssetFileExtension
  40. {
  41. prefab,
  42. unity,
  43. fbx,
  44. anim,
  45. controller,
  46. png,
  47. jpg,
  48. mat,
  49. shader,
  50. ttf,
  51. cs,
  52. }
  53. }