BaseMainWindow.cs 619 B

12345678910111213141516171819202122232425
  1. using UnityEngine;
  2. namespace COM3D2.MeidoPhotoStudio.Plugin
  3. {
  4. public abstract class BaseMainWindow : BaseWindow
  5. {
  6. public BaseMainWindow() : base() { }
  7. public override void OnGUI(int id)
  8. {
  9. TabsPane.Draw();
  10. Draw();
  11. GUI.enabled = true;
  12. GUILayout.FlexibleSpace();
  13. GUIStyle labelStyle = new GUIStyle(GUI.skin.label);
  14. labelStyle.fontSize = 10;
  15. labelStyle.alignment = TextAnchor.LowerLeft;
  16. GUILayout.Label("MeidoPhotoStudio 1.0.0", labelStyle);
  17. GUI.DragWindow();
  18. }
  19. }
  20. }