Merge branch 'master' of http://git.umayle.com:2023/yulong/NewN_UAVPlane
This commit is contained in:
commit
92163cadb5
|
@ -48,7 +48,7 @@ Material:
|
|||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _GIntensity: 0
|
||||
- _GIntensity: 0.1
|
||||
- _Intensity: 0
|
||||
- _SIntensity: 1
|
||||
- _perturbation: 0.405
|
||||
|
|
|
@ -33,7 +33,7 @@ Material:
|
|||
- _overBright: 1
|
||||
m_Colors:
|
||||
- _AmbientTint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 0.5, g: 0.49803922, b: 0.49215686, a: 0.2}
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _GlowColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||
- _PrimaryTint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TintColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
|
|
|
@ -3586,6 +3586,11 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898976, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_TagString
|
||||
value: Importance
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
|
|
@ -19623,7 +19623,7 @@ GameObject:
|
|||
- component: {fileID: 2807491000924113457}
|
||||
m_Layer: 12
|
||||
m_Name: Image
|
||||
m_TagString: Untagged
|
||||
m_TagString: Radar
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
|
|
@ -2122,6 +2122,11 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898976, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_TagString
|
||||
value: WRJParameter
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
@ -2791,6 +2796,11 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898976, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_TagString
|
||||
value: WRJParameter
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
|
|
@ -12822,6 +12822,11 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6102700022742998670, guid: b2cb817bb62743a4194cd9d89f07e27d,
|
||||
type: 3}
|
||||
propertyPath: m_TagString
|
||||
value: Importance
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents:
|
||||
- {fileID: 1076142016709017099, guid: b2cb817bb62743a4194cd9d89f07e27d, type: 3}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: b2cb817bb62743a4194cd9d89f07e27d, type: 3}
|
||||
|
|
|
@ -248,7 +248,7 @@ GameObject:
|
|||
- component: {fileID: 1578225509420461004}
|
||||
m_Layer: 12
|
||||
m_Name: Image
|
||||
m_TagString: Untagged
|
||||
m_TagString: Radar
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
@ -944,6 +944,11 @@ PrefabInstance:
|
|||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898976, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_TagString
|
||||
value: Importance
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
|
||||
type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
|
|
|
@ -1090,7 +1090,7 @@ GameObject:
|
|||
- component: {fileID: 8686255655278623726}
|
||||
m_Layer: 5
|
||||
m_Name: importance
|
||||
m_TagString: Untagged
|
||||
m_TagString: Importance
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
@ -2653,13 +2653,6 @@ MonoBehaviour:
|
|||
ModerDamage: {fileID: 2840960697985760213}
|
||||
regulate: {fileID: 4820533728664913016}
|
||||
buttonreg: {fileID: 7363043795831063353}
|
||||
toggle1: {fileID: 78723881495536872}
|
||||
toggle2: {fileID: 3463523368336500832}
|
||||
toggle3: {fileID: 3619221509897912575}
|
||||
toggle4: {fileID: 28412645170237004}
|
||||
toggle5: {fileID: 8932471483062020681}
|
||||
toggle6: {fileID: 64890494959671527}
|
||||
toggle7: {fileID: 4401106011680143311}
|
||||
togFrequencyBands:
|
||||
- {fileID: 78723881495536872}
|
||||
- {fileID: 3463523368336500832}
|
||||
|
|
|
@ -770,7 +770,7 @@ GameObject:
|
|||
- component: {fileID: 1747500451976562533}
|
||||
m_Layer: 5
|
||||
m_Name: importance
|
||||
m_TagString: Untagged
|
||||
m_TagString: Importance
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
@ -2826,13 +2826,6 @@ MonoBehaviour:
|
|||
ModerDamage: {fileID: 1467464424326605954}
|
||||
regulate: {fileID: 2445121072340223621}
|
||||
buttonreg: {fileID: 1893370117554305087}
|
||||
toggle1: {fileID: 6760580611336481383}
|
||||
toggle2: {fileID: 2327747177229680297}
|
||||
toggle3: {fileID: 6205561511136672778}
|
||||
toggle4: {fileID: 4866093980683021871}
|
||||
toggle5: {fileID: 1595232079232995888}
|
||||
toggle6: {fileID: 848134281435870856}
|
||||
toggle7: {fileID: 6994627430635325071}
|
||||
togFrequencyBands:
|
||||
- {fileID: 6760580611336481383}
|
||||
- {fileID: 2327747177229680297}
|
||||
|
|
|
@ -1558,7 +1558,7 @@ GameObject:
|
|||
- component: {fileID: 5969528349560588974}
|
||||
m_Layer: 5
|
||||
m_Name: importance
|
||||
m_TagString: Untagged
|
||||
m_TagString: Importance
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
|
@ -2826,13 +2826,6 @@ MonoBehaviour:
|
|||
ModerDamage: {fileID: 7378831111228137673}
|
||||
regulate: {fileID: 5625621529173534083}
|
||||
buttonreg: {fileID: 2359957618957220921}
|
||||
toggle1: {fileID: 2987344993920604129}
|
||||
toggle2: {fileID: 4263437241937524701}
|
||||
toggle3: {fileID: 2372794671036074061}
|
||||
toggle4: {fileID: 6045683915690793988}
|
||||
toggle5: {fileID: 3776191318234792201}
|
||||
toggle6: {fileID: 6688120530323237334}
|
||||
toggle7: {fileID: 8540854955145205225}
|
||||
togFrequencyBands:
|
||||
- {fileID: 2987344993920604129}
|
||||
- {fileID: 4263437241937524701}
|
||||
|
|
|
@ -1 +1 @@
|
|||
127.0.0.1:48888
|
||||
172.16.1.254:48888
|
|
@ -1 +1 @@
|
|||
127.0.0.1
|
||||
172.16.1.119
|
|
@ -1 +1 @@
|
|||
{"ip":"172.16.1.120","port":54232,"userName":"server1234","passwd":"123456"}
|
||||
{"ip":"172.16.1.119","port":54232,"userName":"server1234","passwd":"123456"}
|
|
@ -80,14 +80,15 @@ public class Judgmentstate : MonoBehaviour
|
|||
_ = SyncCreateRoom.SendMessageAsync(msg);
|
||||
});
|
||||
off_btn.onClick.AddListener(() => {
|
||||
string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
StartCoroutine(GetString(url, data =>
|
||||
{
|
||||
Debug.Log(data);
|
||||
Application.Quit();
|
||||
//string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
//StartCoroutine(GetString(url, data =>
|
||||
//{
|
||||
// Debug.Log(data);
|
||||
|
||||
|
||||
//}));
|
||||
Application.Quit();
|
||||
|
||||
}));
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ using LitJson;
|
|||
using System.Collections;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
using UnityEngine.SceneManagement;
|
||||
using UnityEngine.UI;
|
||||
using static InterfaceManager;
|
||||
public class Login_panl : MonoBehaviour
|
||||
|
@ -23,8 +22,21 @@ public class Login_panl : MonoBehaviour
|
|||
login_btn.onClick.AddListener(Login);
|
||||
TZ();
|
||||
AdamSync.SyncCreateRoom.registRequset += OnRegist;
|
||||
username_input.onEndEdit.AddListener(delegate { OnEndEdit(username_input); });
|
||||
password_input.onEndEdit.AddListener(delegate { OnEndEdit(password_input); });
|
||||
}
|
||||
|
||||
// 当用户提交输入(按下回车键)时调用
|
||||
public void OnEndEdit(InputField field)
|
||||
{
|
||||
// 检查是否是因为按下回车键(或"Enter"键)而提交
|
||||
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter))
|
||||
{
|
||||
//Debug.Log("用户输入并按下了回车键: " + field.text);
|
||||
// 在这里执行你需要的操作
|
||||
Login();
|
||||
}
|
||||
}
|
||||
private void TZ()
|
||||
{
|
||||
if (GameMain.tiao == true)
|
||||
|
@ -109,20 +121,20 @@ public class Login_panl : MonoBehaviour
|
|||
/// <param name="exirOrQuit">返回 退出</param>
|
||||
public void AddGetString(bool exirOrQuit)
|
||||
{
|
||||
string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
StartCoroutine(GetString(url, data =>
|
||||
{
|
||||
Debug.Log(data);
|
||||
if (exirOrQuit)
|
||||
{
|
||||
SceneManager.LoadScene("SampleScene");
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
//string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
//StartCoroutine(GetString(url, data =>
|
||||
//{
|
||||
// Debug.Log(data);
|
||||
// if (exirOrQuit)
|
||||
// {
|
||||
// SceneManager.LoadScene("SampleScene");
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Application.Quit();
|
||||
// }
|
||||
|
||||
}));
|
||||
//}));
|
||||
}
|
||||
|
||||
public void OnRegist(string msg)
|
||||
|
|
|
@ -38,7 +38,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
public string MicrowaveinterferenceAngle;
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 是否演练开关
|
||||
/// </summary>
|
||||
private bool _isStartRehearsing = false;
|
||||
|
@ -95,7 +95,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
MicrowaveweaponList.Add(this);
|
||||
// 订阅布尔值变化事件
|
||||
OnActivationChanged += OnActivationChangedHandler;
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 演练是否开始开关
|
||||
|
@ -118,7 +118,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
/// </summary>
|
||||
private void Offmode()
|
||||
{
|
||||
if (equipment.isPlayer&&coroutine!=null)
|
||||
if (equipment.isPlayer && coroutine != null)
|
||||
{
|
||||
StopCoroutine(Timern());
|
||||
coroutine = null;
|
||||
|
@ -130,7 +130,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
/// </summary>
|
||||
private void Openmode()
|
||||
{
|
||||
if (equipment.isPlayer&&coroutine ==null)
|
||||
if (equipment.isPlayer && coroutine == null)
|
||||
{
|
||||
StartCoroutine(Timern());
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
while (true)
|
||||
{
|
||||
yield return new WaitForSeconds(microwtimer + 1.5f);
|
||||
if (miceopos!=null&&ismicow)
|
||||
if (miceopos != null && ismicow)
|
||||
{
|
||||
Launchattack();
|
||||
|
||||
|
@ -155,9 +155,12 @@ public class Microwaveweapon : MonoBehaviour
|
|||
protected string Getmicdata()
|
||||
{
|
||||
//Debug.Log("上传位置");
|
||||
return string.Format("{0},{1},{2},{3},{4}","Micow", equipment.deviceID, miceopos.transform.position.x,miceopos.transform.position.y,miceopos.transform.position.z);
|
||||
return string.Format("{0},{1},{2},{3},{4}", "Micow", equipment.deviceID, miceopos.transform.position.x, miceopos.transform.position.y, miceopos.transform.position.z);
|
||||
}
|
||||
private void OnMouseDown()
|
||||
{
|
||||
GameManager.Instance.GetAllImportance();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取设备的参数
|
||||
/// </summary>
|
||||
|
@ -169,7 +172,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
{
|
||||
case "储能间隔时间:":
|
||||
Storageintervaltime = weaponitemone[i].para_value;
|
||||
microwtimer =float.Parse(Storageintervaltime);
|
||||
microwtimer = float.Parse(Storageintervaltime);
|
||||
break;
|
||||
case "毁伤目标累积作用时间:":
|
||||
Microwavedamagetime = weaponitemone[i].para_value;
|
||||
|
@ -198,7 +201,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
if (miceopos != null)
|
||||
{
|
||||
microwavepoint.transform.DOLookAt(miceopos.position, 0.1f).SetEase(Ease.Linear);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
|
@ -206,13 +209,13 @@ public class Microwaveweapon : MonoBehaviour
|
|||
/// </summary>
|
||||
public void Launchattack()
|
||||
{
|
||||
if (miceopos!=null)
|
||||
if (miceopos != null)
|
||||
{
|
||||
micdistance = Vector3.Distance(miceopos.position, transform.position);
|
||||
var newdata = Getmicdata();
|
||||
//_ = SyncCreateRoom.SendMessageAsync(string.Format("send2room {0}", newdata));
|
||||
MQTTManager.instance.SendData(MQTTManager.instance.Micow, newdata);
|
||||
microblog.MicrowaveDisplay(micdistance / 10+1, 0.5f);
|
||||
microblog.MicrowaveDisplay(micdistance / 10 + 1, 0.5f);
|
||||
Closeattack(miceopos);
|
||||
}
|
||||
}
|
||||
|
@ -223,8 +226,8 @@ public class Microwaveweapon : MonoBehaviour
|
|||
/// <returns></returns>
|
||||
private void Closeattack(Transform pos)
|
||||
{
|
||||
UnmannedAerialVehicle unmannedAerialVehicle =pos.GetComponent<UnmannedAerialVehicle>();
|
||||
if (unmannedAerialVehicle!=null)
|
||||
UnmannedAerialVehicle unmannedAerialVehicle = pos.GetComponent<UnmannedAerialVehicle>();
|
||||
if (unmannedAerialVehicle != null)
|
||||
{
|
||||
StartCoroutine(Destructiondata(unmannedAerialVehicle));
|
||||
StartCoroutine(Offlaserstrike());
|
||||
|
@ -244,7 +247,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
game.transform.SetParent(null);
|
||||
game.SetActive(true);
|
||||
Destroy(unmannedAerialVehicle.gameObject);
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 销毁无人机
|
||||
|
@ -253,7 +256,7 @@ public class Microwaveweapon : MonoBehaviour
|
|||
/// <returns></returns>
|
||||
public string Aeroplane(UnmannedAerialVehicle unmannedAerialVehicle)
|
||||
{
|
||||
return string.Format("{0},{1},{2}","Planedata",unmannedAerialVehicle.unmannedAerialVehicleManage.equipmentCommon.deviceID,unmannedAerialVehicle.serialNumber);
|
||||
return string.Format("{0},{1},{2}", "Planedata", unmannedAerialVehicle.unmannedAerialVehicleManage.equipmentCommon.deviceID, unmannedAerialVehicle.serialNumber);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -271,13 +274,14 @@ public class Microwaveweapon : MonoBehaviour
|
|||
public void Microwavetransmission(string[] data)
|
||||
{
|
||||
//接收激光下发的位置
|
||||
Vector3 vector =new Vector3(float.Parse(data[2]), float.Parse(data[3]),float.Parse(data[4]));
|
||||
Vector3 vector = new Vector3(float.Parse(data[2]), float.Parse(data[3]), float.Parse(data[4]));
|
||||
float _micdistance = Vector3.Distance(vector, transform.position);
|
||||
microwavepoint.transform.DOLookAt(vector, 0.1f).SetEase(Ease.Linear).OnComplete(() => {
|
||||
microwavepoint.transform.DOLookAt(vector, 0.1f).SetEase(Ease.Linear).OnComplete(() =>
|
||||
{
|
||||
microblog.MicrowaveDisplay(_micdistance / 10 + 1, 0.5f);
|
||||
StartCoroutine(Offlaserstrike());
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
private void OnDestroy()
|
||||
{
|
||||
|
|
|
@ -395,12 +395,9 @@ public class Spectrumdetection : MonoBehaviour
|
|||
|
||||
private void OnMouseDown()
|
||||
{
|
||||
if (equipmentCommon.isPlayer)
|
||||
{
|
||||
SpectrumdetectionUI.SetActive(true);
|
||||
}
|
||||
if (!GlobalFlag.isStartRehearsing && GlobalFlag.blueOrRed == 1)
|
||||
{
|
||||
GameManager.Instance.GetAllImportance();
|
||||
EquipmentCommon equipmentCommon1 = GetComponent<EquipmentCommon>();
|
||||
if (equipmentCommon.deviceID == equipmentCommon1.deviceID)
|
||||
{
|
||||
|
@ -408,6 +405,10 @@ public class Spectrumdetection : MonoBehaviour
|
|||
Frequencyiamge.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
if (equipmentCommon.isPlayer)
|
||||
{
|
||||
SpectrumdetectionUI.SetActive(true);
|
||||
}
|
||||
//SpectrumdetectionUI.SetActive(true);
|
||||
}
|
||||
private void OnDestroy()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Collections;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
@ -24,7 +24,8 @@ public class Switchinginput : MonoBehaviour
|
|||
{
|
||||
index = 0;
|
||||
}
|
||||
_eventSystem.SetSelectedGameObject(inputFields[index].gameObject, new BaseEventDate(_eventSystem));
|
||||
}
|
||||
_eventSystem.SetSelectedGameObject(inputFields[index].gameObject, new BaseEventDate(_eventSystem));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -119,13 +119,13 @@ public class Taskpanel : MonoBehaviour
|
|||
});
|
||||
guanji_button.onClick.AddListener(() =>
|
||||
{
|
||||
string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
StartCoroutine(GetString(url, data =>
|
||||
{
|
||||
Debug.Log(data);
|
||||
Application.Quit();
|
||||
}));
|
||||
|
||||
//string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
//StartCoroutine(GetString(url, data =>
|
||||
//{
|
||||
// Debug.Log(data);
|
||||
// Application.Quit();
|
||||
//}));
|
||||
Application.Quit();
|
||||
});
|
||||
menu_button.onClick.AddListener(() =>
|
||||
{
|
||||
|
|
|
@ -38,7 +38,7 @@ RenderSettings:
|
|||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 1113159741}
|
||||
m_IndirectSpecularColor: {r: 0.066868424, g: 0.12216938, b: 0.2541184, a: 1}
|
||||
m_IndirectSpecularColor: {r: 0.030100383, g: 0.03369107, b: 0.03534769, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
|
@ -6834,7 +6834,7 @@ GameObject:
|
|||
- component: {fileID: 147647013}
|
||||
- component: {fileID: 147647014}
|
||||
m_Layer: 5
|
||||
m_Name: Canvas
|
||||
m_Name: MainCanvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -13803,12 +13803,12 @@ Light:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 250950117}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
serializedVersion: 10
|
||||
m_Type: 1
|
||||
m_Shape: 0
|
||||
m_Color: {r: 1, g: 0.99607843, b: 0.9843137, a: 1}
|
||||
m_Intensity: 1.088
|
||||
m_Color: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_Intensity: 0.001
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_InnerSpotAngle: 21.80208
|
||||
|
@ -20176,7 +20176,7 @@ Camera:
|
|||
m_Enabled: 0
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.39735296, g: 0.46529412, b: 0.52294123, a: 0.6}
|
||||
m_BackGroundColor: {r: 0.0041176477, g: 0.0041176477, b: 0.0041176477, a: 0.6}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
|
@ -53945,6 +53945,7 @@ GameObject:
|
|||
- component: {fileID: 1436809534}
|
||||
- component: {fileID: 1436809535}
|
||||
- component: {fileID: 1436809536}
|
||||
- component: {fileID: 1436809537}
|
||||
m_Layer: 0
|
||||
m_Name: Bootstraps
|
||||
m_TagString: Untagged
|
||||
|
@ -54142,6 +54143,21 @@ MonoBehaviour:
|
|||
SweepFrequencyBand: SweepFrequencyBand
|
||||
KeyTarget: KeyTarget
|
||||
identification:
|
||||
--- !u!114 &1436809537
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1436809528}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f072abdc6ffe11f459a53ff73c2d0984, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
startFormationBtn: {fileID: 0}
|
||||
submitFormationBtn: {fileID: 0}
|
||||
isStartFormation: 0
|
||||
--- !u!1 &1444599844
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -54383,7 +54399,7 @@ Light:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1452191771}
|
||||
m_Enabled: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 10
|
||||
m_Type: 1
|
||||
m_Shape: 0
|
||||
|
@ -69477,15 +69493,15 @@ MonoBehaviour:
|
|||
moonlightObject: {fileID: 639984703}
|
||||
moonLightAmt: 0.90791565
|
||||
moonPhase: 0.54604214
|
||||
ambientCol: {r: 1, g: 1, b: 1, a: 1}
|
||||
colorSun: {r: 1, g: 0.99607843, b: 0.9843137, a: 1}
|
||||
ambientCol: {r: 0, g: 0, b: 0, a: 1}
|
||||
colorSun: {r: 0, g: 0, b: 0, a: 1}
|
||||
colorMoon: {r: 0.4392157, g: 0.5921569, b: 0.69803923, a: 1}
|
||||
colorSkyBase: {r: 0.6054902, g: 0.7090196, b: 0.7968628, a: 0.8}
|
||||
colorSkyBaseLow: {r: 0.75686276, g: 0.88627446, b: 0.9960785, a: 1}
|
||||
colorHorizon: {r: 0.9082354, g: 1.0682354, b: 1.1952941, a: 1.2}
|
||||
colorHorizonLow: {r: 0.12235295, g: 0.2964706, b: 0.36705884, a: 1.2}
|
||||
colorSkyAmbient: {r: 1, g: 1, b: 1, a: 1}
|
||||
colorClouds: {r: 1, g: 1, b: 1, a: 1}
|
||||
colorSkyBase: {r: 0.00627451, g: 0.00627451, b: 0.00627451, a: 0.8}
|
||||
colorSkyBaseLow: {r: 0.007843138, g: 0.007843138, b: 0.007843138, a: 1}
|
||||
colorHorizon: {r: 0.12235295, g: 0.2964706, b: 0.36705884, a: 1.2}
|
||||
colorHorizonLow: {r: 0.9082354, g: 1.0682354, b: 1.1952941, a: 1.2}
|
||||
colorSkyAmbient: {r: 0, g: 0, b: 0, a: 1}
|
||||
colorClouds: {r: 0, g: 0, b: 0, a: 1}
|
||||
colorHighlightClouds: {r: 0, g: 0, b: 0, a: 1}
|
||||
colorSkyboxGround: {r: 0.1102941, g: 0.08836951, b: 0.06487888, a: 1}
|
||||
colorSkyboxMie: {r: 1, g: 1, b: 1, a: 1}
|
||||
|
@ -69824,7 +69840,7 @@ MonoBehaviour:
|
|||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
randSeed: 25527625
|
||||
randSeed: 150061843
|
||||
isDoingTransition: 0
|
||||
minimumHeight: 0
|
||||
--- !u!114 &1820978574
|
||||
|
|
|
@ -212,6 +212,8 @@ MonoBehaviour:
|
|||
data: []
|
||||
loadingPanel: {fileID: 460561659324528917, guid: d61f98bb55a26ec48b6a05359f4ecc8e,
|
||||
type: 3}
|
||||
go: {fileID: 0}
|
||||
loadTem: {fileID: 0}
|
||||
--- !u!1 &2132962757
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -1037,7 +1037,7 @@ MonoBehaviour:
|
|||
m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
|
||||
m_Text:
|
||||
m_CaretBlinkRate: 0.85
|
||||
m_CaretWidth: 1
|
||||
m_CaretWidth: 5
|
||||
m_ReadOnly: 0
|
||||
--- !u!114 &514598458
|
||||
MonoBehaviour:
|
||||
|
@ -1421,7 +1421,7 @@ MonoBehaviour:
|
|||
m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
|
||||
m_Text:
|
||||
m_CaretBlinkRate: 0.85
|
||||
m_CaretWidth: 1
|
||||
m_CaretWidth: 5
|
||||
m_ReadOnly: 0
|
||||
--- !u!114 &835460218
|
||||
MonoBehaviour:
|
||||
|
|
|
@ -20,9 +20,9 @@ public class DragController : MonoBehaviour, IBeginDragHandler, IEndDragHandler,
|
|||
|
||||
public Mastermanagement mastermanagement;
|
||||
|
||||
void Start()
|
||||
void Awake()
|
||||
{
|
||||
mastermanagement = GameObject.Find("Canvas").GetComponent<Mastermanagement>();
|
||||
mastermanagement = GameObject.Find("MainCanvas").GetComponent<Mastermanagement>();
|
||||
}
|
||||
public void OnBeginDrag(PointerEventData eventData)
|
||||
{
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
/// <summary>
|
||||
/// 编队控制脚本
|
||||
/// </summary>
|
||||
public class FormationManager : MonoBehaviour
|
||||
{
|
||||
public Button startFormationBtn;
|
||||
public Button submitFormationBtn;
|
||||
public bool isStartFormation;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
startFormationBtn.onClick.AddListener(OnStartFormation);
|
||||
submitFormationBtn.onClick.AddListener(OnSubmit);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (isStartFormation)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.LeftControl) && Input.GetMouseButtonDown(0))
|
||||
{
|
||||
Debug.Log("拾取");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void OnStartFormation()
|
||||
{
|
||||
isStartFormation = true;
|
||||
}
|
||||
|
||||
public void OnSubmit()
|
||||
{
|
||||
isStartFormation = false;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f072abdc6ffe11f459a53ff73c2d0984
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -525,6 +525,35 @@ public class GameManager : MonoSingleton<GameManager>
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取 所有 参数 修改 面板
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public void GetAllImportance()
|
||||
{
|
||||
GameObject[] radar = GameObject.FindGameObjectsWithTag("Radar");
|
||||
GameObject[] objs = GameObject.FindGameObjectsWithTag("Importance");
|
||||
for (int i = 0; i < objs.Length; i++)
|
||||
{
|
||||
objs[i].SetActive(false);
|
||||
}
|
||||
for (int i = 0; i < radar.Length; i++)
|
||||
{
|
||||
radar[i].SetActive(false);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取无人机参数面板
|
||||
/// </summary>
|
||||
public void GetWRJParameter()
|
||||
{
|
||||
GameObject[] wrjParameter = GameObject.FindGameObjectsWithTag("WRJParameter");
|
||||
for (int i = 0; i < wrjParameter.Length; i++)
|
||||
{
|
||||
wrjParameter[i].SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void OnDisable()
|
||||
|
|
|
@ -23,6 +23,7 @@ namespace Assets.Zion.Scripts.Adam
|
|||
{
|
||||
if (UIBootstrap.Instance.GetRoleByIDPracticeId(GlobalFlag.practiceSeatId) == "0" && Input.GetMouseButtonDown(0))
|
||||
{
|
||||
if (EventSystem.current.IsPointerOverGameObject()) return;
|
||||
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
|
||||
RaycastHit hitInfo;
|
||||
if (Physics.Raycast(ray, out hitInfo, 1000))
|
||||
|
@ -40,16 +41,19 @@ namespace Assets.Zion.Scripts.Adam
|
|||
}
|
||||
else
|
||||
{
|
||||
GameManager.Instance.GetWRJParameter();
|
||||
wrjMenuSetPanel.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GameManager.Instance.GetWRJParameter();
|
||||
wrjMenuSetPanel.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GameManager.Instance.GetWRJParameter();
|
||||
wrjMenuSetPanel.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,12 +57,4 @@ public class AddConfing : MonoBehaviour
|
|||
}
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
string url = Url_Exit + GlobalFlag.currentUser.login_name;
|
||||
StartCoroutine(GetString(url, data =>
|
||||
{
|
||||
Debug.Log(data);
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public class HighPriorityTarget : MonoBehaviour
|
|||
/// <summary>
|
||||
/// 频率选择
|
||||
/// </summary>
|
||||
public Toggle toggle1, toggle2, toggle3, toggle4, toggle5, toggle6, toggle7;
|
||||
//public Toggle toggle1, toggle2, toggle3, toggle4, toggle5, toggle6, toggle7;
|
||||
/// <summary>
|
||||
/// 频段设置
|
||||
/// </summary>
|
||||
|
@ -104,88 +104,7 @@ public class HighPriorityTarget : MonoBehaviour
|
|||
MQTTManager.instance.SendData(MQTTManager.instance.BandSetting, nowData);
|
||||
}
|
||||
}
|
||||
/*
|
||||
private void Interferencefrequency()
|
||||
{
|
||||
toggle1.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "UHF";
|
||||
gamepos.layer = 16;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
toggle2.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "L";
|
||||
gamepos.layer = 17;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
toggle3.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "S";
|
||||
gamepos.layer = 18;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
toggle4.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "C";
|
||||
gamepos.layer = 19;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
toggle5.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "X";
|
||||
gamepos.layer = 20;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
toggle6.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "Ku";
|
||||
gamepos.layer = 21;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
toggle7.onValueChanged.AddListener((ison) =>
|
||||
{
|
||||
if (ison)
|
||||
{
|
||||
frequency = "Ka";
|
||||
gamepos.layer = 22;
|
||||
string nowData = GetSyncDataTwo();
|
||||
DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
*/
|
||||
public void FrequencyGamepos(string _frequency)
|
||||
{
|
||||
int layerValue = LayerMask.NameToLayer(_frequency);
|
||||
|
@ -214,6 +133,8 @@ public class HighPriorityTarget : MonoBehaviour
|
|||
HighPriorityTarget highPriorityTarget = hit.transform.GetComponent<HighPriorityTarget>();
|
||||
if (!GlobalFlag.isStartRehearsing && highPriorityTarget && highPriorityTarget.Number == Number)
|
||||
{
|
||||
GameManager.Instance.GetAllImportance();
|
||||
|
||||
regulate.transform.position = Camera.main.WorldToScreenPoint(hit.point);
|
||||
regulate.gameObject.SetActive(true);
|
||||
}
|
||||
|
@ -234,7 +155,7 @@ public class HighPriorityTarget : MonoBehaviour
|
|||
{
|
||||
HP -= 10;
|
||||
string nowData = GetSyncDis(Pos);
|
||||
Debug.Log("发送:"+nowData);
|
||||
Debug.Log("发送:" + nowData);
|
||||
//DeviceManager.Instance.send2roomStr.Enqueue(nowData);
|
||||
MQTTManager.instance.SendData(MQTTManager.instance.KeyTarget, nowData);
|
||||
}
|
||||
|
@ -288,7 +209,7 @@ public class HighPriorityTarget : MonoBehaviour
|
|||
UploadLogMain uploadLogMain = new UploadLogMain();
|
||||
uploadLogMain.PracticeId = GlobalFlag.practiceSubjectID;
|
||||
uploadLogMain.ThinkId = GlobalFlag.currentThinkId;
|
||||
string log = currentTime + " " + "重要用户(" + Number + ")频段设置为" + frequency;
|
||||
string log = currentTime + " " + "重要用户(" + Number + ")频段设置为" + frequency;
|
||||
uploadLogMain.log = log;
|
||||
uploadLogMains.Add(uploadLogMain);
|
||||
string uploadLogMainJson = JsonConvert.SerializeObject(uploadLogMains);
|
||||
|
|
|
@ -145,7 +145,7 @@ public static class InterfaceManager
|
|||
/// <summary>
|
||||
/// 用户退出
|
||||
/// </summary>
|
||||
public static string Url_Exit { get => IpAddress + "/Handler/User.ashx?action=exit&login_name="; }
|
||||
//public static string Url_Exit { get => IpAddress + "/Handler/User.ashx?action=exit&login_name="; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -362,7 +362,7 @@ public class RadarManger : MonoBehaviour
|
|||
{
|
||||
if (equipmentCommon.isPlayer && GlobalFlag.blueOrRed == 1)
|
||||
{
|
||||
|
||||
GameManager.Instance.GetAllImportance();
|
||||
imageprs.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,8 +8,8 @@ using static InterfaceManager;
|
|||
using System;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
地面无线电干扰对无人机的干扰通常是指对其数据链通信频点的干扰,而不是卫星定位频点的干扰。
|
||||
|
||||
|
@ -194,7 +194,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
|
||||
private void disturb1()
|
||||
{
|
||||
if (InterferingFrequency1.Length>0)
|
||||
if (InterferingFrequency1.Length > 0)
|
||||
{
|
||||
string[] str = InterferingFrequency1.Split(',');
|
||||
for (int i = 0; i < str.Length; i++)
|
||||
|
@ -206,7 +206,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
break;
|
||||
case "L":
|
||||
toggle2.gameObject.SetActive(true);
|
||||
break ;
|
||||
break;
|
||||
case "S":
|
||||
toggle3.gameObject.SetActive(true);
|
||||
break;
|
||||
|
@ -241,10 +241,10 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
//Interferencemode();
|
||||
//Angularrange();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GraphicRaycaster RaycastInCanvas;
|
||||
|
||||
|
||||
|
||||
|
||||
#region 启动暂停
|
||||
|
@ -314,36 +314,36 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
/// <param name="weaponitemone"></param>
|
||||
public void FillInTheData(List<List_paraItem> weaponitemone)
|
||||
{
|
||||
|
||||
|
||||
for (int i = 0; i < weaponitemone.Count; i++)
|
||||
{
|
||||
switch (weaponitemone[i].para_name)
|
||||
{
|
||||
case "干扰频率:":
|
||||
string[] str = weaponitemone[i].para_value.Split(',');
|
||||
if (str.Length>0)
|
||||
if (str.Length > 0)
|
||||
{
|
||||
for (int j = 0; j < str.Length; j++)
|
||||
{
|
||||
switch (str[j])
|
||||
{
|
||||
case "0":
|
||||
InterferingFrequency1 += "UHF"+"," ;
|
||||
InterferingFrequency1 += "UHF" + ",";
|
||||
break;
|
||||
case "1":
|
||||
InterferingFrequency1 += "L"+",";
|
||||
InterferingFrequency1 += "L" + ",";
|
||||
break;
|
||||
case "2":
|
||||
InterferingFrequency1 += "S"+",";
|
||||
InterferingFrequency1 += "S" + ",";
|
||||
break;
|
||||
case "3":
|
||||
InterferingFrequency1 += "C"+",";
|
||||
InterferingFrequency1 += "C" + ",";
|
||||
break;
|
||||
case "4":
|
||||
InterferingFrequency1 += "X"+",";
|
||||
InterferingFrequency1 += "X" + ",";
|
||||
break;
|
||||
case "5":
|
||||
InterferingFrequency1 += "Ku"+",";
|
||||
InterferingFrequency1 += "Ku" + ",";
|
||||
break;
|
||||
case "6":
|
||||
InterferingFrequency1 += "Ka" + ",";
|
||||
|
@ -353,7 +353,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//interval= float.Parse(InterferingFrequency);
|
||||
break;
|
||||
case "干扰模式:":
|
||||
|
@ -456,7 +456,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
{
|
||||
if (colliders[i].transform.tag == "WRJ")
|
||||
{
|
||||
|
||||
|
||||
UnmannedAerialVehicleManage unmannedAerialVehicleManage = colliders[i].GetComponent<UnmannedAerialVehicleManage>();
|
||||
//Debug.Log("检测到无人机: " + col.name);
|
||||
UnmannedAerialVehicle unmannedAerialVehicle = colliders[i].GetComponent<UnmannedAerialVehicle>();
|
||||
|
@ -475,7 +475,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
{
|
||||
WRJs.Enqueue(unmannedAerialVehicleManage.transform);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -501,7 +501,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
///上传日志
|
||||
|
@ -526,7 +526,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
}));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
|
@ -566,6 +566,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
|
|||
{
|
||||
if (!GlobalFlag.isStartRehearsing && GlobalFlag.blueOrRed == 1 && Input.GetMouseButtonDown(0))
|
||||
{
|
||||
GameManager.Instance.GetAllImportance();
|
||||
Waveimage.transform.position = Camera.main.WorldToScreenPoint(transform.position);
|
||||
Waveimage.gameObject.SetActive(true);
|
||||
}
|
||||
|
|
|
@ -48,12 +48,14 @@ public class UnmannedAerialVehicleUI : MonoBehaviour
|
|||
btnFrequencyBand.onClick.AddListener(() => {
|
||||
if (unmannedAerialVehicleManage)
|
||||
{
|
||||
GameManager.Instance.GetWRJParameter();
|
||||
unmannedAerialVehicleManage.FrequencyBand.SetActive(true);
|
||||
}
|
||||
});
|
||||
btnSurveillanceFrequencyBand.onClick.AddListener(() => {
|
||||
if (unmannedAerialVehicleManage)
|
||||
{
|
||||
GameManager.Instance.GetWRJParameter();
|
||||
unmannedAerialVehicleManage.SurveillanceFrequencyBand.SetActive(true);
|
||||
}
|
||||
});
|
||||
|
@ -74,6 +76,7 @@ public class UnmannedAerialVehicleUI : MonoBehaviour
|
|||
{
|
||||
if (unmannedAerialVehicleManage)
|
||||
{
|
||||
GameManager.Instance.GetWRJParameter();
|
||||
switch (unmannedAerialVehicleManage.wrjModel)
|
||||
{
|
||||
case WRJModel.光学无人机:
|
||||
|
|
|
@ -9,6 +9,9 @@ TagManager:
|
|||
- AttackTarget
|
||||
- WRJ1
|
||||
- AttackTarget1
|
||||
- Importance
|
||||
- Radar
|
||||
- WRJParameter
|
||||
layers:
|
||||
- Default
|
||||
- TransparentFX
|
||||
|
|
Loading…
Reference in New Issue