添加多端打组逻辑

This commit is contained in:
YangHua 2024-02-29 23:18:34 +08:00
parent 5cbeb0097e
commit 2fb543e382
2 changed files with 6 additions and 1 deletions

View File

@ -231,6 +231,10 @@ public class FormationManager : MonoSingleton<FormationManager>
} }
} }
private void SetGroupInfo()
{
}
/// <summary> /// <summary>
/// 打组发送给别人 /// 打组发送给别人
/// </summary> /// </summary>
@ -238,6 +242,8 @@ public class FormationManager : MonoSingleton<FormationManager>
{ {
string msg = $"send2room group,{groupIndex},{info}"; string msg = $"send2room group,{groupIndex},{info}";
_ = SyncCreateRoom.SendMessageAsync(msg); _ = SyncCreateRoom.SendMessageAsync(msg);
string localMsg = $"group,{groupIndex},{info}";
OnReciveMsg(localMsg);
} }
public void OnCancel() public void OnCancel()

View File

@ -880,7 +880,6 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
isGroup = true; isGroup = true;
SetGroupTips(groupId); SetGroupTips(groupId);
} }
Debug.Log($"++:badxx ==={groupId}");
WRJName = wrjModel.ToString(); WRJName = wrjModel.ToString();
} }