Compare commits
2 Commits
85bcdb333b
...
9f95bbadf3
| Author | SHA1 | Date |
|---|---|---|
|
|
9f95bbadf3 | |
|
|
dabbcc0ebf |
|
|
@ -1029,6 +1029,8 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
|||
}
|
||||
private void OnDestroy()
|
||||
{
|
||||
if (airRoute)
|
||||
Destroy(airRoute.gameObject);
|
||||
for (int i = 0; i < unmannedAerialVehicleManages.Count; i++)
|
||||
{
|
||||
if (unmannedAerialVehicleManages[i] == null)
|
||||
|
|
@ -1038,7 +1040,7 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
|
|||
}
|
||||
StopCoroutine(ShowRadarTips(0, 0));
|
||||
OnActivationChanged -= OnActivationChangedHandler;
|
||||
Destroy(airRoute.gameObject);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue