//------------------------------------------------------------ // Game Framework v3.x // Copyright © 2013-2017 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ using UnityEngine; namespace UnityGameFramework.Runtime { public partial class DebuggerComponent { private sealed class WebPlayerInformationWindow : ScrollableDebuggerWindowBase { protected override void OnDrawScrollableWindow() { GUILayout.Label("Web Player Information"); GUILayout.BeginVertical("box"); { DrawItem("Is Web Player:", Application.isPlaying.ToString()); DrawItem("Absolute URL:", Application.absoluteURL); //DrawItem("Source Value:", Application.srcValue); DrawItem("Streamed Bytes:", Application.streamedBytes.ToString()); #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(); } } } }