2025-04-28 19:45:45 +08:00
|
|
|
|
using AlicizaX;
|
2025-01-23 19:06:48 +08:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace AlicizaX.Debugger.Runtime
|
|
|
|
|
|
{
|
2025-04-28 19:45:45 +08:00
|
|
|
|
public sealed partial class DebuggerComponent
|
2025-01-23 19:06:48 +08:00
|
|
|
|
{
|
|
|
|
|
|
private sealed class WebPlayerInformationWindow : ScrollableDebuggerWindowBase
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override void OnDrawScrollableWindow()
|
|
|
|
|
|
{
|
|
|
|
|
|
GUILayout.Label("<b>Web Player Information</b>");
|
|
|
|
|
|
GUILayout.BeginVertical("box");
|
|
|
|
|
|
{
|
|
|
|
|
|
#if !UNITY_2017_2_OR_NEWER
|
|
|
|
|
|
DrawItem("Is Web Player", Application.isWebPlayer.ToString());
|
|
|
|
|
|
#endif
|
|
|
|
|
|
DrawItem("Absolute URL", Application.absoluteURL);
|
|
|
|
|
|
#if !UNITY_2017_2_OR_NEWER
|
|
|
|
|
|
DrawItem("Source Value", Application.srcValue);
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#if !UNITY_2018_2_OR_NEWER
|
|
|
|
|
|
DrawItem("Streamed Bytes", Application.streamedBytes.ToString());
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#if UNITY_5_3 || UNITY_5_4
|
|
|
|
|
|
DrawItem("Web Security Enabled", Application.webSecurityEnabled.ToString());
|
|
|
|
|
|
DrawItem("Web Security Host URL", Application.webSecurityHostUrl.ToString());
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|
|
|
|
|
|
GUILayout.EndVertical();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|