123456789101112131415161718192021222324252627282930313233343536373839 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 loyalsoft. All rights reserved.
- // Homepage: http://www.game7000.com/
- // Feedback: http://www.game7000.com/
- //------------------------------------------------------------
- using UnityEngine;
- namespace UnityGameFramework.Runtime
- {
- public sealed partial class DebuggerComponent : GameFrameworkComponent
- {
- private sealed class InputSummaryInformationWindow : ScrollableDebuggerWindowBase
- {
- protected override void OnDrawScrollableWindow()
- {
- GUILayout.Label("<b>Input Summary Information</b>");
- GUILayout.BeginVertical("box");
- {
- DrawItem("Back Button Leaves App", Input.backButtonLeavesApp.ToString());
- DrawItem("Device Orientation", Input.deviceOrientation.ToString());
- DrawItem("Mouse Present", Input.mousePresent.ToString());
- DrawItem("Mouse Position", Input.mousePosition.ToString());
- DrawItem("Mouse Scroll Delta", Input.mouseScrollDelta.ToString());
- DrawItem("Any Key", Input.anyKey.ToString());
- DrawItem("Any Key Down", Input.anyKeyDown.ToString());
- DrawItem("Input String", Input.inputString);
- DrawItem("IME Is Selected", Input.imeIsSelected.ToString());
- DrawItem("IME Composition Mode", Input.imeCompositionMode.ToString());
- DrawItem("Compensate Sensors", Input.compensateSensors.ToString());
- DrawItem("Composition Cursor Position", Input.compositionCursorPos.ToString());
- DrawItem("Composition String", Input.compositionString);
- }
- GUILayout.EndVertical();
- }
- }
- }
- }
|