Compare commits
No commits in common. "8b641849727d34caa32261d8691a32e8b7a0f315" and "e34c22dc7b1819314cfdb331d30a3435d7e0cbde" have entirely different histories.
8b64184972
...
e34c22dc7b
|
@ -125,13 +125,10 @@ public class UnmannedAerialVehicle : MonoBehaviour
|
||||||
+ "编号" + serialNumber + "子无人机" + "自杀式攻击自爆了";
|
+ "编号" + serialNumber + "子无人机" + "自杀式攻击自爆了";
|
||||||
UploadLog(_log);
|
UploadLog(_log);
|
||||||
}
|
}
|
||||||
if(explodePrefab&&transform)
|
GameObject Bao = Instantiate(explodePrefab, transform);
|
||||||
{
|
Bao.transform.localPosition = Vector3.zero;
|
||||||
GameObject Bao = Instantiate(explodePrefab, transform);
|
Bao.transform.SetParent(null);
|
||||||
Bao.transform.localPosition = Vector3.zero;
|
Bao.SetActive(true);
|
||||||
Bao.transform.SetParent(null);
|
|
||||||
Bao.SetActive(true);
|
|
||||||
}
|
|
||||||
//DroneViewDisplay.Instance.DistroyUI(unmannedAerialVehicleManage.equipmentCommon.deviceID);
|
//DroneViewDisplay.Instance.DistroyUI(unmannedAerialVehicleManage.equipmentCommon.deviceID);
|
||||||
DeviceManager.Instance.RemoveDevice(gameObject);
|
DeviceManager.Instance.RemoveDevice(gameObject);
|
||||||
Destroy(gameObject);
|
Destroy(gameObject);
|
||||||
|
|
Loading…
Reference in New Issue