This commit is contained in:
		
							parent
							
								
									ffbfe77965
								
							
						
					
					
						commit
						e6567cccf2
					
				|  | @ -50,7 +50,7 @@ public class Mastermanagement : MonoBehaviour | |||
|     { | ||||
|         for (int i = 0; i < dragControllers.Count; i++) | ||||
|         { | ||||
|             if (dragControllers[i].gameObject.name == game.name) | ||||
|             if (dragControllers[i].gameObject.name == game.name && !dragControllers[i].gameObject.activeSelf) | ||||
|             { | ||||
|                 dragControllers[i].gameObject.SetActive(false); | ||||
|                 break; | ||||
|  | @ -62,9 +62,10 @@ public class Mastermanagement : MonoBehaviour | |||
|     { | ||||
|         for (int i = 0; i < dragControllers.Count; i++) | ||||
|         { | ||||
|             if (dragControllers[i].gameObject.name == game.name) | ||||
|             if (dragControllers[i].gameObject.name == game.name&& !dragControllers[i].gameObject.activeSelf) | ||||
|             { | ||||
|                 dragControllers[i].gameObject.SetActive(true); | ||||
|                 break; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  |  | |||
|  | @ -340,7 +340,8 @@ public class UnmannedAerialVehicleManage : MonoBehaviour | |||
|     { | ||||
|         string nowData = GetSyncData(attackTarget); | ||||
|         Debug.Log(nowData); | ||||
|         _ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData)); | ||||
|         //_ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", nowData)); | ||||
|         DeviceManager.Instance.send2roomStr.Enqueue(nowData); | ||||
|     } | ||||
|     /// <summary> | ||||
|     /// 无人机攻击目标传递 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue