ETPackageUpdateModule.cs 629 B

12345678910111213141516171819202122232425262728
  1. #if ODIN_INSPECTOR
  2. using System;
  3. using System.IO;
  4. using Sirenix.OdinInspector;
  5. using UnityEngine;
  6. namespace ET.PackageManager.Editor
  7. {
  8. [ETPackageMenu("更新")]
  9. public class ETPackageUpdateModule : BasePackageToolModule
  10. {
  11. [Button("文档", 30, Icon = SdfIconType.Link45deg, IconAlignment = IconAlignment.LeftOfText)]
  12. [PropertyOrder(-9999)]
  13. public void OpenDocument()
  14. {
  15. ETPackageDocumentModule.ETPackageUpdate();
  16. }
  17. public override void Initialize()
  18. {
  19. }
  20. public override void OnDestroy()
  21. {
  22. }
  23. }
  24. }
  25. #endif