This commit is contained in:
parent
d8e6bad2e4
commit
154d3d1c30
|
@ -164,7 +164,10 @@ public class EquipmentCommon : MonoBehaviour
|
||||||
/// 已有路径
|
/// 已有路径
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Queue<Vector3> positions = new Queue<Vector3>();
|
public Queue<Vector3> positions = new Queue<Vector3>();
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
StartMoveObjectAlongPath();
|
||||||
|
}
|
||||||
|
|
||||||
public bool isMove = true;
|
public bool isMove = true;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -279,6 +279,8 @@ public class LaserFireControlPlatformManger : MonoBehaviour
|
||||||
|
|
||||||
private void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
|
Destroy(InnerLaserlineRenderer.gameObject);
|
||||||
|
Destroy(OuterLaserlineRenderer.gameObject);
|
||||||
OnActivationChanged -= OnActivationChangedHandler;
|
OnActivationChanged -= OnActivationChangedHandler;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -172,6 +172,7 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
||||||
headers.Add("id", equipmentCommon.deviceID);
|
headers.Add("id", equipmentCommon.deviceID);
|
||||||
StartCoroutine(GetString(Url_Deletepracticedevicedetail, headers, data => {
|
StartCoroutine(GetString(Url_Deletepracticedevicedetail, headers, data => {
|
||||||
Debug.Log(data);
|
Debug.Log(data);
|
||||||
|
Destroy(gameObject);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -541,6 +542,7 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
||||||
}
|
}
|
||||||
private void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
|
Destroy(airRoute.gameObject);
|
||||||
OnActivationChanged -= OnActivationChangedHandler;
|
OnActivationChanged -= OnActivationChangedHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue