Add player action state and abnormality debug workflow

This commit is contained in:
2026-03-19 18:21:39 +09:00
parent d39e13f032
commit 12e37dc1c7
23 changed files with 1286 additions and 25 deletions

View File

@@ -13,6 +13,10 @@ namespace Colosseum.UI
[SerializeField] private string ipAddress = "127.0.0.1";
[SerializeField] private ushort port = 7777;
[Header("Editor Test")]
[Tooltip("에디터 Play Mode 진입 시 자동으로 Host를 시작합니다")]
[SerializeField] private bool autoStartHostInEditor = false;
[Header("Status (Read Only)")]
[SerializeField, Tooltip("현재 연결 상태")] private string connectionStatus = "Disconnected";
@@ -26,6 +30,13 @@ namespace Colosseum.UI
private void Start()
{
UpdateTransportSettings();
#if UNITY_EDITOR
if (autoStartHostInEditor && NetworkManager.Singleton != null && !NetworkManager.Singleton.IsListening)
{
StartHost();
}
#endif
}
private void Update()