From 1dced04a5acb8c020804cf3e1572a913fd0398dc Mon Sep 17 00:00:00 2001 From: sangta Date: Tue, 23 Apr 2024 14:11:23 +0700 Subject: [PATCH] update --- .../GadGame/Scripts/State/MainFlowState/CTAState.cs | 12 ++++++------ Assets/GadGame/Scripts/State/SingletonStateRunner.cs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/GadGame/Scripts/State/MainFlowState/CTAState.cs b/Assets/GadGame/Scripts/State/MainFlowState/CTAState.cs index ae6dc96..daef533 100644 --- a/Assets/GadGame/Scripts/State/MainFlowState/CTAState.cs +++ b/Assets/GadGame/Scripts/State/MainFlowState/CTAState.cs @@ -20,17 +20,17 @@ namespace GadGame.State.MainFlowState Runner.SetState(); return; } - if(!UdpSocket.Instance.DataReceived.OnVision) - { - Runner.SetState(); - return; - } + // if(!UdpSocket.Instance.DataReceived.OnVision) + // { + // Runner.SetState(); + // return; + // } if(!UdpSocket.Instance.DataReceived.Engage) { Runner.SetState(); return; } - Runner.SetState(); + Runner.SetState(); } } diff --git a/Assets/GadGame/Scripts/State/SingletonStateRunner.cs b/Assets/GadGame/Scripts/State/SingletonStateRunner.cs index c68f1e5..43f1382 100644 --- a/Assets/GadGame/Scripts/State/SingletonStateRunner.cs +++ b/Assets/GadGame/Scripts/State/SingletonStateRunner.cs @@ -54,7 +54,7 @@ namespace GadGame.State { if (ActiveState != null) { - Debug.Log(ActiveState); + // Debug.Log(ActiveState); _timer += Time.deltaTime; ActiveState.Update(_timer); }