This commit is contained in:
parent
2e4373b2d2
commit
2f341e93d8
|
@ -190,7 +190,7 @@ public class RadarManger : MonoBehaviour
|
|||
{
|
||||
if (equipmentCommon.isPlayer && timerCoroutine == null)
|
||||
{
|
||||
//timerCoroutine = StartCoroutine(Timer());
|
||||
timerCoroutine = StartCoroutine(Timer());
|
||||
isTimerRunning = true;
|
||||
}
|
||||
}
|
||||
|
@ -223,12 +223,6 @@ public class RadarManger : MonoBehaviour
|
|||
/// <param name="weaponitemone"></param>
|
||||
public void FillInTheData(List<List_paraItem> weaponitemone)
|
||||
{
|
||||
//if (equipmentCommon)
|
||||
//{
|
||||
// string msg = $"send2room {equipmentCommon.equipmentType}+{transform.position.ToString().Replace(" ", "").Replace("(", "").Replace(")", "")}+{transform.eulerAngles.ToString().Replace(" ", "").Replace("(", "").Replace(")", "")}";
|
||||
// Debug.Log(msg);
|
||||
// _ = SyncCreateRoom.SendMessageAsync(msg);
|
||||
//}
|
||||
for (int i = 0; i < weaponitemone.Count; i++)
|
||||
{
|
||||
switch (weaponitemone[i].para_name)
|
||||
|
|
|
@ -361,7 +361,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
//interval= float.Parse(InterferingFrequency);
|
||||
break;
|
||||
case "干扰模式:":
|
||||
Debug.LogError(weaponitemone[i].para_value);
|
||||
//Debug.LogError(weaponitemone[i].para_value);
|
||||
switch (weaponitemone[i].para_value)
|
||||
{
|
||||
case "0":
|
||||
|
@ -377,7 +377,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
break;
|
||||
case "发射功率:":
|
||||
//TransmittedPower = weaponitemone[i].para_value;
|
||||
Debug.LogError(weaponitemone[i].para_value);
|
||||
//Debug.LogError(weaponitemone[i].para_value);
|
||||
switch (weaponitemone[i].para_value)
|
||||
{
|
||||
case "0":
|
||||
|
@ -394,7 +394,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
}
|
||||
break;
|
||||
case "干扰角度:":
|
||||
Debug.LogError(weaponitemone[i].para_value);
|
||||
//Debug.LogError(weaponitemone[i].para_value);
|
||||
InterferenceAngle = weaponitemone[i].para_value;
|
||||
break;
|
||||
case "干扰距离:":
|
||||
|
|
Loading…
Reference in New Issue