From ae8ad146db7efbc264c477a3347625ebe559df64 Mon Sep 17 00:00:00 2001 From: yulong <1838206582@qq.com> Date: Wed, 6 Mar 2024 17:04:27 +0800 Subject: [PATCH] 1 --- Assets/Zion/Scripts/Adam/UIBootstrap.cs | 2 +- .../Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Zion/Scripts/Adam/UIBootstrap.cs b/Assets/Zion/Scripts/Adam/UIBootstrap.cs index aca0ee0b..a5e96455 100644 --- a/Assets/Zion/Scripts/Adam/UIBootstrap.cs +++ b/Assets/Zion/Scripts/Adam/UIBootstrap.cs @@ -147,7 +147,7 @@ public class UIBootstrap : MonoSingleton private IEnumerator ShowLoad(UnityAction callback = null) { loadTem.SetActive(true); - yield return new WaitForSeconds(3f); + yield return new WaitForSeconds(1f); loadTem.SetActive(false); callback?.Invoke(); } diff --git a/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs b/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs index a16e7570..f4b3e623 100644 --- a/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs +++ b/Assets/Zion/Scripts/ModelFunction/UAV/UnmannedAerialVehicleManage.cs @@ -389,13 +389,13 @@ public class UnmannedAerialVehicleManage : MonoBehaviour private void Judgingdistance() { RaycastHit hit; - Debug.LogError("调用了"); + //Debug.LogError("调用了"); if (Physics.Raycast(transform.position, Vector3.down, out hit)) { Debug.Log(hit.distance); if (hit.distance <= 1f) { - Debug.Log("隐藏了"); + //Debug.Log("隐藏了"); gamePos.gameObject.SetActive(false); gamemap.gameObject.SetActive(false); }