WindowAttribute.cs 430 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace UniFramework.Window
  3. {
  4. [AttributeUsage(AttributeTargets.Class)]
  5. public class WindowAttribute : Attribute
  6. {
  7. /// <summary>
  8. /// 窗口层级
  9. /// </summary>
  10. public int WindowLayer;
  11. /// <summary>
  12. /// 全屏窗口标记
  13. /// </summary>
  14. public bool FullScreen;
  15. public WindowAttribute(int windowLayer, bool fullScreen)
  16. {
  17. WindowLayer = windowLayer;
  18. FullScreen = fullScreen;
  19. }
  20. }
  21. }