BuildConfig.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using UnityEditor;
  2. namespace XGame.Editor.Build
  3. {
  4. //public delegate void BuildAppEvent(int code);
  5. public partial class BuildConfig
  6. {
  7. public ProjectSettings project;
  8. public EditorSettings editor;
  9. public GitSettings git;
  10. public AndroidSettings android;
  11. public IOSSettings iOS;
  12. public BuildTarget target;
  13. /// <summary>
  14. /// .NET API compatibility level.
  15. /// </summary>
  16. public ApiCompatibilityLevel compatibilityLevel;
  17. /// <summary>
  18. /// 代码编译类型
  19. /// </summary>
  20. public ScriptingImplementation scriptImpl;
  21. /// <summary>
  22. /// 是否需要设置预编译宏
  23. /// </summary>
  24. public bool isSetScriptDefine;
  25. /// <summary>
  26. /// 发布类型
  27. /// </summary>
  28. public PublishType publishType;
  29. /// <summary>
  30. /// 打包操作
  31. /// </summary>
  32. public BuildOperation operations;
  33. /// <summary>
  34. /// 安卓生成字符表参数
  35. /// Disabled = 0,
  36. /// Public = 1,
  37. /// Debugging = 2,
  38. /// </summary>
  39. public int androidCreateSymbols;
  40. /// <summary>
  41. /// 是否忽略资源分包操作
  42. /// </summary>
  43. public bool ignoreSplitAssets;
  44. /// <summary>
  45. /// 打包结束的回调
  46. /// 格式: $"<callback type:{callback.Method.ReflectedType.AssemblyQualifiedName} method:{callback.Method.Name} /callback>"
  47. /// </summary>
  48. public string callback;
  49. }
  50. }