Compare commits

...

2 Commits

Author SHA1 Message Date
yulong df6caaebc5 Merge branch 'master' of http://git.umayle.com:2023/yulong/NewN_UAVPlane 2024-01-27 10:47:15 +08:00
yulong 64396a2301 提交 2024-01-27 10:47:05 +08:00
3 changed files with 813 additions and 3 deletions

View File

@ -332,6 +332,105 @@ Animator:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!1 &5101425620612842796
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 171474370036731381}
- component: {fileID: 7741990481688815348}
- component: {fileID: 609838111492980822}
- component: {fileID: 7277993262308379101}
m_Layer: 12
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &171474370036731381
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5101425620612842796}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 6504874221885083784}
m_Father: {fileID: 7107351192811671799}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!223 &7741990481688815348
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5101425620612842796}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!114 &609838111492980822
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5101425620612842796}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!114 &7277993262308379101
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5101425620612842796}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1 &5136179047312290042
GameObject:
m_ObjectHideFlags: 0
@ -631,6 +730,19 @@ MonoBehaviour:
y: 0
width: 1
height: 1
--- !u!114 &2209643061406332762
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8315853553728570698}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2fafe2cfe61f6974895a912c3755e8f1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_AllowSwitchOff: 0
--- !u!1 &8886968095416014645
GameObject:
m_ObjectHideFlags: 0
@ -667,6 +779,7 @@ Transform:
- {fileID: 152603132415866519}
- {fileID: 480111843}
- {fileID: 7023015303366167859}
- {fileID: 171474370036731381}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -711,6 +824,15 @@ MonoBehaviour:
Directionfindingaccuracy: 0
Minimumdetectionvelocity: 0
SpectrumdetectionUI: {fileID: 5136179047312290042}
Frequencyiamge: {fileID: 6504874221885083787}
frenbutton: {fileID: 1245349667316659933}
toggle1: {fileID: 6607821772367089145}
toggle2: {fileID: 2017904362660357390}
toggle3: {fileID: 8810536813081833251}
toggle4: {fileID: 1877435463607341424}
toggle5: {fileID: 5382943705491709219}
toggle6: {fileID: 6251437642903478223}
toggle7: {fileID: 117463751223528660}
--- !u!65 &1537869982341012852
BoxCollider:
m_ObjectHideFlags: 0
@ -824,6 +946,547 @@ MonoBehaviour:
y: 0
width: 1
height: 1
--- !u!1001 &5521694617346715177
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 171474370036731381}
m_Modifications:
- target: {fileID: 438240288241169162, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 459800770939100963, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 491892064406678418, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 774263706619759321, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 774263706619759321, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 774263706619759321, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 774263706619759321, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -70
objectReference: {fileID: 0}
- target: {fileID: 774263706619759321, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 774263706619759321, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 787071647807583119, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 787071647807583119, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 787071647807583119, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 787071647807583119, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -70
objectReference: {fileID: 0}
- target: {fileID: 787071647807583119, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 787071647807583119, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898976, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Name
value: frequencypanl
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898976, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 130
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 150
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1662757468879152080, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 1762964555520084189, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1762964555520084189, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1762964555520084189, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 1762964555520084189, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -10
objectReference: {fileID: 0}
- target: {fileID: 1762964555520084189, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 1762964555520084189, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 1900922108148937190, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 2047453286519514049, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2047453286519514049, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2047453286519514049, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 2047453286519514049, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -10
objectReference: {fileID: 0}
- target: {fileID: 2047453286519514049, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 2047453286519514049, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 2443395303032663798, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2952508982754408232, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3955760755921223946, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 4480705353594056196, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4615187386309863894, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4615187386309863894, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4615187386309863894, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 4615187386309863894, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -40
objectReference: {fileID: 0}
- target: {fileID: 4615187386309863894, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 4615187386309863894, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 5189183387702235965, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5189183387702235965, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5189183387702235965, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 100
objectReference: {fileID: 0}
- target: {fileID: 5189183387702235965, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -40
objectReference: {fileID: 0}
- target: {fileID: 5189183387702235965, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 5189183387702235965, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
- target: {fileID: 5548909004573041405, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 5810196214057519911, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 6245650889842523993, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_Group
value:
objectReference: {fileID: 2209643061406332762}
- target: {fileID: 7145474946587446179, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7288085586989767126, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8220085496440315604, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8220085496440315604, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8220085496440315604, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 30
objectReference: {fileID: 0}
- target: {fileID: 8220085496440315604, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -100
objectReference: {fileID: 0}
- target: {fileID: 8220085496440315604, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.x
value: 60
objectReference: {fileID: 0}
- target: {fileID: 8220085496440315604, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
propertyPath: m_SizeDelta.y
value: 20
objectReference: {fileID: 0}
m_RemovedComponents:
- {fileID: 5839716182141322363, guid: 38fb1def99b2cd147a96842efe5a355b, type: 3}
- {fileID: 2022963561981901188, guid: 38fb1def99b2cd147a96842efe5a355b, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 38fb1def99b2cd147a96842efe5a355b, type: 3}
--- !u!114 &6504874221885083787 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1649737328956898978, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1245349667316659933 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6766835544386984180, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &8315853553728570698 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4595685103321639779, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
--- !u!114 &2017904362660357390 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 5810196214057519911, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &6607821772367089145 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1662757468879152080, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &6504874221885083784 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 1649737328956898977, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
--- !u!114 &8810536813081833251 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3955760755921223946, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1877435463607341424 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6245650889842523993, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &5382943705491709219 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 438240288241169162, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &6251437642903478223 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1900922108148937190, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &117463751223528660 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 5548909004573041405, guid: 38fb1def99b2cd147a96842efe5a355b,
type: 3}
m_PrefabInstance: {fileID: 5521694617346715177}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &5527359314712025833
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -3,7 +3,9 @@ using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class Spectrumdetection : MonoBehaviour
{
@ -63,13 +65,89 @@ public class Spectrumdetection : MonoBehaviour
///
/// </summary>
public GameObject SpectrumdetectionUI;
/// <summary>
/// 显示UI频段页面
/// </summary>
public Image Frequencyiamge;
/// <summary>
/// 关闭按钮
/// </summary>
public Button frenbutton;
/// <summary>
/// 选择最终的频段
/// </summary>
public Toggle toggle1, toggle2, toggle3, toggle4, toggle5, toggle6, toggle7;
/// <summary>
/// 最终的波段
/// </summary>
public string Frequency;
void Start()
{
equipmentCommon = GetComponent<EquipmentCommon>();
// 订阅布尔值变化事件
OnActivationChanged += OnActivationChangedHandler;
_isStartRehearsing = GlobalFlag.isStartRehearsing;
Microwave();
}
private void Microwave()
{
frenbutton.onClick.AddListener(() =>
{
Frequencyiamge.gameObject.SetActive(false);
});
toggle1.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "HUF";
}
});
toggle2.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "L";
}
});
toggle3.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "S";
}
});
toggle4.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "C";
}
});
toggle5.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "X";
}
});
toggle6.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "Ku";
}
});
toggle7.onValueChanged.AddListener((ison) =>
{
if (ison)
{
Frequency = "Ka";
}
});
}
/// <summary>
/// 演习是否启动
/// </summary>
@ -107,7 +185,7 @@ public class Spectrumdetection : MonoBehaviour
{
for (int j = 0; j < str.Length; j++)
{
switch (str[i])
switch (str[j])
{
case "0":
frequency += "UHF" + ",";
@ -152,11 +230,77 @@ public class Spectrumdetection : MonoBehaviour
break;
}
}
Microwavefrequency();
}
private void Microwavefrequency()
{
if (frequency.Length>0)
{
string[] str = frequency.Split(',');
for (int i = 0; i < str.Length; i++)
{
switch (str[i])
{
case "UHF":
toggle1.gameObject.SetActive(true);
break;
case "L":
toggle2.gameObject.SetActive(true);
break ;
case "S":
toggle3.gameObject.SetActive(true);
break;
case "C":
toggle4.gameObject.SetActive(true);
break;
case "X":
toggle5.gameObject.SetActive(true);
break;
case "Ku":
toggle6.gameObject.SetActive(true);
break;
case "Ka":
toggle7.gameObject.SetActive(true);
break;
default:
break;
}
}
}
}
void Update()
{
Search();//微波武器朝向无人机
Emittedray();
}
/// <summary>
/// 点击物体生成页面
/// </summary>
/// <exception cref="NotImplementedException"></exception>
private void Emittedray()
{
if (Input.GetMouseButtonDown(0)&& UIBootstrap.Instance.GetRoleByIDPracticeId(GlobalFlag.practiceSeatId) != "0")
{
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;
if (EventSystem.current.IsPointerOverGameObject())
{
return;
}
if (Physics.Raycast(ray,out hit,1000))
{
EquipmentCommon equipmentCommon1=hit.collider.GetComponent<EquipmentCommon>();
if (equipmentCommon.deviceID==equipmentCommon1.deviceID)
{
Frequencyiamge.transform.position = Camera.main.WorldToScreenPoint(hit.point);
Frequencyiamge.gameObject.SetActive(true);
}
}
}
}
/// <summary>
/// 搜索范围内的无人机
/// </summary>
@ -198,6 +342,7 @@ public class Spectrumdetection : MonoBehaviour
}
private void OnDestroy()
{
Destroy(Frequencyiamge.gameObject);
OnActivationChanged -= OnActivationChangedHandler;
}
}

View File

@ -259,7 +259,8 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
{
return;
}
if (hit.transform.tag == "AttackTarget" && hit.transform.GetComponent<TerrestrialRadioInterferenceManger>())
EquipmentCommon equipment=hit.collider.GetComponent<EquipmentCommon>();
if (equipmentCommon.deviceID==equipment.deviceID)
{
Waveimage.transform.position = Camera.main.WorldToScreenPoint(hit.point);
Waveimage.gameObject.SetActive(true);
@ -562,6 +563,7 @@ public class TerrestrialRadioInterferenceManger : MonoBehaviour
private void OnDestroy()
{
Destroy(Waveimage.gameObject);
OnActivationChanged -= OnActivationChangedHandler;
}