From d19cf2feadd356f3edbe5dd8a60a879caaff30d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=90=8D?= <3077614386@qq.com> Date: Fri, 24 Nov 2023 13:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prefebs/Models/moder/地面无线电干扰.prefab | 13 +++++++------ Assets/Zion/Scripts/Adam/DeviceManager.cs | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Assets/GameAssets/Prefebs/Models/moder/地面无线电干扰.prefab b/Assets/GameAssets/Prefebs/Models/moder/地面无线电干扰.prefab index 80fcb3c0..1ee8e400 100644 --- a/Assets/GameAssets/Prefebs/Models/moder/地面无线电干扰.prefab +++ b/Assets/GameAssets/Prefebs/Models/moder/地面无线电干扰.prefab @@ -54,6 +54,7 @@ MonoBehaviour: deviceID: explodePrefab: {fileID: 1000013462590818, guid: ecdd96beb7f93494880c052dfccf9dc1, type: 3} + isMove: 1 --- !u!114 &625513913607457923 MonoBehaviour: m_ObjectHideFlags: 0 @@ -85,8 +86,8 @@ BoxCollider: m_IsTrigger: 0 m_Enabled: 1 serializedVersion: 2 - m_Size: {x: 0.42641535, y: 0.45776367, z: 0.502432} - m_Center: {x: -0.003455268, y: 0.0058525936, z: -0.17967823} + m_Size: {x: 0.42641535, y: 0.4577637, z: 0.4878235} + m_Center: {x: -0.003455268, y: 0.005852593, z: 0.24031357} --- !u!54 &8730502543110765572 Rigidbody: m_ObjectHideFlags: 0 @@ -111,11 +112,11 @@ BoxCollider: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 625513913607457920} m_Material: {fileID: 0} - m_IsTrigger: 0 + m_IsTrigger: 1 m_Enabled: 1 serializedVersion: 2 - m_Size: {x: 0.42641535, y: 0.45776367, z: 0.502432} - m_Center: {x: -0.003455268, y: 0.0058525936, z: -0.17967823} + m_Size: {x: 0.42641535, y: 0.4577637, z: 0.48782435} + m_Center: {x: -0.003455268, y: 0.005852593, z: 0.24213997} --- !u!1 &6430903684112924841 GameObject: m_ObjectHideFlags: 0 @@ -140,7 +141,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6430903684112924841} m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0, y: 0, z: 0} + m_LocalPosition: {x: -0, y: 0, z: 0.439} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 6549523320775265201} diff --git a/Assets/Zion/Scripts/Adam/DeviceManager.cs b/Assets/Zion/Scripts/Adam/DeviceManager.cs index 5b1e4357..734f057e 100644 --- a/Assets/Zion/Scripts/Adam/DeviceManager.cs +++ b/Assets/Zion/Scripts/Adam/DeviceManager.cs @@ -67,7 +67,7 @@ public class DeviceManager : MonoSingleton while (send2roomStr.Count > 0) { _ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", send2roomStr.Dequeue())); - yield return new WaitForSeconds(0.035f); + yield return new WaitForSeconds(0.05f); if(send2roomStr.Count==0) isOnlyOne = true; }