chore(unity): 固定Unity CLI Loop本地包并移除UnitySkills依赖

This commit is contained in:
Liubing\LB
2026-09-28 18:14:59 +08:00
parent 0eb43b2b40
commit c4ae02def9
952 changed files with 70137 additions and 11 deletions

View File

@@ -0,0 +1,31 @@
#if UNITY_EDITOR
using UnityEngine;
namespace io.github.hatayama.uLoopMCP
{
// Orchestrator that owns the shared Canvas and holds references to all input visualization overlays.
public class InputVisualizationCanvas : MonoBehaviour
{
[SerializeField] private SimulateKeyboardOverlay _keyboardOverlay = null!;
[SerializeField] private SimulateMouseUiOverlay _mouseUiOverlay = null!;
[SerializeField] private SimulateMouseInputOverlay _mouseInputOverlay = null!;
[SerializeField] private RecordInputOverlayPresenter _recordInputOverlayPresenter = null!;
[SerializeField] private ReplayInputOverlay _replayInputOverlay = null!;
public SimulateKeyboardOverlay KeyboardOverlay => _keyboardOverlay;
public SimulateMouseUiOverlay MouseUiOverlay => _mouseUiOverlay;
public SimulateMouseInputOverlay MouseInputOverlay => _mouseInputOverlay;
public RecordInputOverlayPresenter RecordInputOverlayPresenter => _recordInputOverlayPresenter;
public ReplayInputOverlay ReplayInputOverlay => _replayInputOverlay;
private void Awake()
{
Debug.Assert(_keyboardOverlay != null, "_keyboardOverlay must be assigned in prefab");
Debug.Assert(_mouseUiOverlay != null, "_mouseUiOverlay must be assigned in prefab");
Debug.Assert(_mouseInputOverlay != null, "_mouseInputOverlay must be assigned in prefab");
Debug.Assert(_recordInputOverlayPresenter != null, "_recordInputOverlayPresenter must be assigned in prefab");
Debug.Assert(_replayInputOverlay != null, "_replayInputOverlay must be assigned in prefab");
}
}
}
#endif