雷达盲区和车辆名字

This commit is contained in:
yulong 2024-02-01 14:17:30 +08:00
parent 0656d005df
commit 442758cd05
6 changed files with 26 additions and 20 deletions

View File

@ -48,7 +48,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _GIntensity: 0.1
- _GIntensity: 0
- _Intensity: 0
- _SIntensity: 1
- _perturbation: 0.405

View File

@ -33,7 +33,7 @@ Material:
- _overBright: 1
m_Colors:
- _AmbientTint: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _Color: {r: 0.5, g: 0.49803922, b: 0.49215686, a: 0.2}
- _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}

View File

@ -536,7 +536,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 211272343189438365}
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 60, z: 0}
m_LocalPosition: {x: 0, y: 50, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 3977472425108262602}
@ -10018,6 +10018,7 @@ MonoBehaviour:
AzimuthBeamwidth: 2
PitchBeamwidth: 13
detectionRadius: 3000
nearBlindArea: 5
NumberOfProbes: 31
minCamera: {fileID: 1822639428928488196}
imageprs: {fileID: 8234605787508067104}

View File

@ -25,7 +25,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 480111842}
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: -0, y: 50.889, z: -0}
m_LocalPosition: {x: -0, y: 50, z: -0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 7107351192811671799}

View File

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.16789001, g: 0.3080347, b: 0.6423777, a: 1}
m_IndirectSpecularColor: {r: 0.16789019, g: 0.30791733, b: 0.6417328, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@ -348,7 +348,7 @@ PrefabInstance:
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -70
value: -195
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
@ -33791,12 +33791,12 @@ PrefabInstance:
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 75
value: 200
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -820
value: -695
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
@ -74971,6 +74971,11 @@ PrefabInstance:
propertyPath: m_Name
value: ModelItem
objectReference: {fileID: 0}
- target: {fileID: 7504021919138649143, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_Text
value: "\u8F66\u8F861"
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 45f26f52bed0c2f48980e3679f72d225, type: 3}
--- !u!224 &150123909 stripped
@ -114028,12 +114033,12 @@ PrefabInstance:
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 200
value: 75
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -195
value: -320
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
@ -623456,7 +623461,7 @@ PrefabInstance:
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -320
value: -195
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
@ -927386,7 +927391,7 @@ MonoBehaviour:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
randSeed: 454892781
randSeed: 97504203
isDoingTransition: 0
minimumHeight: 0
--- !u!114 &1820978574
@ -928521,7 +928526,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 870}
m_SizeDelta: {x: 0, y: 900}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1823088602
MonoBehaviour:
@ -1001521,7 +1001526,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 25}
m_SizeDelta: {x: 0, y: 900}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1958044294
MonoBehaviour:
@ -1004687,12 +1004692,12 @@ PrefabInstance:
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 200
value: 75
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -695
value: -820
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
@ -1075665,12 +1075670,12 @@ PrefabInstance:
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 75
value: 200
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -195
value: -70
objectReference: {fileID: 0}
- target: {fileID: 7504021917712410616, guid: 45f26f52bed0c2f48980e3679f72d225,
type: 3}
@ -1090138,7 +1090143,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 1370}
m_SizeDelta: {x: 0, y: 1400}
m_Pivot: {x: 0, y: 1}
--- !u!114 &2126916401
MonoBehaviour:

View File

@ -171,7 +171,7 @@ public class RadarManger : MonoBehaviour
{
if (colliders[i].transform.gameObject.tag == "WRJ")
{
Debug.Log("进来了" + Vector3.Distance(transform.position, colliders[i].transform.position));
//Debug.Log("进来了" + Vector3.Distance(transform.position, colliders[i].transform.position));
UnmannedAerialVehicleManage unmannedAerialVehicle = colliders[i].GetComponent<UnmannedAerialVehicleManage>();
if (unmannedAerialVehicle)
{