From e4cded328a08df68be516ae4c719a3e7c168ddf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=90=8D?= <3077614386@qq.com> Date: Thu, 7 Mar 2024 11:14:43 +0800 Subject: [PATCH] 1 --- Assets/Zion/Scripts/Adam/GameManager.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Assets/Zion/Scripts/Adam/GameManager.cs b/Assets/Zion/Scripts/Adam/GameManager.cs index 2cedd851..792d230b 100644 --- a/Assets/Zion/Scripts/Adam/GameManager.cs +++ b/Assets/Zion/Scripts/Adam/GameManager.cs @@ -469,12 +469,6 @@ public class GameManager : MonoSingleton } } - if (uavm) - { - uavm.SetTipsColor(); - DroneViewDisplay.Instance.CreateUI(uavm, false); - } - Debug.Log($"是否是player{data.r3 == GlobalFlag.currentUser.user_id}"); device.GetComponent().FillInTheData(data.list_para, data); device.GetComponent().deviceID = data.id; @@ -482,7 +476,11 @@ public class GameManager : MonoSingleton { device.GetComponent().isPlayer = true; } - + if (uavm) + { + uavm.SetTipsColor(); + DroneViewDisplay.Instance.CreateUI(uavm, false); + } FormationManager.Instance.WhenSpawn(); }