This commit is contained in:
账号名 2023-11-24 13:36:37 +08:00
parent dd19d54dd0
commit d19cf2fead
2 changed files with 8 additions and 7 deletions

View File

@ -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}

View File

@ -67,7 +67,7 @@ public class DeviceManager : MonoSingleton<DeviceManager>
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;
}