ExampleWindow.cs 555 B

123456789101112131415161718192021
  1. using UnityEngine;
  2. namespace UnityGameFramework.Runtime
  3. {
  4. public class ExampleWindow : ScrollableDebuggerWindowBase
  5. {
  6. protected override void OnDrawScrollableWindow()
  7. {
  8. GUILayout.Label("<b>Example</b>");
  9. GUILayout.BeginVertical("box");
  10. {
  11. GUILayout.BeginHorizontal();
  12. {
  13. GUILayout.Label("This is an example.");
  14. }
  15. GUILayout.EndHorizontal();
  16. }
  17. GUILayout.EndVertical();
  18. }
  19. }
  20. }