Add player action state and abnormality debug workflow
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user