PackPlatformWeiDuanGUI.cs 862 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEditor;
  5. namespace Pack
  6. {
  7. public partial class PackPlatformWeiDuan
  8. {
  9. protected override void DrawPlatformGameGUI(bool editable, PackPlatformBase sourcePackPlatform)
  10. {
  11. base.DrawPlatformGameGUI(editable, sourcePackPlatform);
  12. EditorGUI.indentLevel += 1;
  13. EditorGUILayout.Space();
  14. EditorGUILayout.BeginVertical(PackGUI.styles.box);
  15. PackGUI.BeginChangeGUIColor(Color.yellow);
  16. EditorGUILayout.LabelField("该平台包不能在Unity中编译,请使用编译工具 !!!", PackGUI.styles.boldLabel);
  17. PackGUI.EndChangeGUIColor();
  18. EditorGUILayout.Space();
  19. EditorGUILayout.EndVertical();
  20. EditorGUI.indentLevel -= 1;
  21. }
  22. }
  23. }