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