2025-09-05 19:46:30 +08:00
|
|
|
using UnityEngine;
|
2026-04-21 13:01:55 +08:00
|
|
|
using UnityEngine.UIElements;
|
2025-09-05 19:46:30 +08:00
|
|
|
|
|
|
|
|
namespace AlicizaX.Debugger.Runtime
|
|
|
|
|
{
|
|
|
|
|
public sealed partial class DebuggerComponent
|
|
|
|
|
{
|
2026-04-21 13:01:55 +08:00
|
|
|
private sealed class InputSummaryInformationWindow : PollingDebuggerWindowBase
|
2025-09-05 19:46:30 +08:00
|
|
|
{
|
2026-04-21 13:01:55 +08:00
|
|
|
protected override void BuildWindow(VisualElement root)
|
2025-09-05 19:46:30 +08:00
|
|
|
{
|
2026-04-21 13:01:55 +08:00
|
|
|
VisualElement section = CreateSection("Input Summary", out VisualElement card);
|
|
|
|
|
card.Add(CreateRow("Back Button Leaves App", Input.backButtonLeavesApp.ToString()));
|
|
|
|
|
card.Add(CreateRow("Device Orientation", Input.deviceOrientation.ToString()));
|
|
|
|
|
card.Add(CreateRow("Mouse Present", Input.mousePresent.ToString()));
|
|
|
|
|
card.Add(CreateRow("Mouse Position", Input.mousePosition.ToString()));
|
|
|
|
|
card.Add(CreateRow("Mouse Scroll Delta", Input.mouseScrollDelta.ToString()));
|
|
|
|
|
card.Add(CreateRow("Any Key", Input.anyKey.ToString()));
|
|
|
|
|
card.Add(CreateRow("Any Key Down", Input.anyKeyDown.ToString()));
|
|
|
|
|
card.Add(CreateRow("Input String", Input.inputString));
|
|
|
|
|
card.Add(CreateRow("IME Is Selected", Input.imeIsSelected.ToString()));
|
|
|
|
|
card.Add(CreateRow("IME Composition Mode", Input.imeCompositionMode.ToString()));
|
|
|
|
|
card.Add(CreateRow("Compensate Sensors", Input.compensateSensors.ToString()));
|
|
|
|
|
card.Add(CreateRow("Composition Cursor Position", Input.compositionCursorPos.ToString()));
|
|
|
|
|
card.Add(CreateRow("Composition String", Input.compositionString));
|
|
|
|
|
root.Add(section);
|
2025-09-05 19:46:30 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|