DebuggerComponent.PathInformationWindow.cs 1.1 KB

123456789101112131415161718192021222324252627282930
  1. //------------------------------------------------------------
  2. // Game Framework v3.x
  3. // Copyright © 2013-2017 Jiang Yin. All rights reserved.
  4. // Homepage: http://gameframework.cn/
  5. // Feedback: mailto:jiangyin@gameframework.cn
  6. //------------------------------------------------------------
  7. using UnityEngine;
  8. namespace UnityGameFramework.Runtime
  9. {
  10. public partial class DebuggerComponent
  11. {
  12. private sealed class PathInformationWindow : ScrollableDebuggerWindowBase
  13. {
  14. protected override void OnDrawScrollableWindow()
  15. {
  16. GUILayout.Label("<b>Path Information</b>");
  17. GUILayout.BeginVertical("box");
  18. {
  19. DrawItem("Data Path:", Application.dataPath);
  20. DrawItem("Persistent Data Path:", Application.persistentDataPath);
  21. DrawItem("Streaming Assets Path:", Application.streamingAssetsPath);
  22. DrawItem("Temporary Cache Path:", Application.temporaryCachePath);
  23. }
  24. GUILayout.EndVertical();
  25. }
  26. }
  27. }
  28. }