Merge branch 'master' of http://git.umayle.com:2023/yulong/NewN_UAVPlane
This commit is contained in:
commit
49f3df6e06
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 958c17b566dae76488bc10b48b03f711
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,524 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &3270453146200501843
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5670546975218018817}
|
||||||
|
- component: {fileID: 5056985346345925777}
|
||||||
|
- component: {fileID: 269755967683626459}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: txt_post
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5670546975218018817
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3270453146200501843}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 813832094512813817}
|
||||||
|
m_Father: {fileID: 5109177044161419473}
|
||||||
|
m_RootOrder: 1
|
||||||
|
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.5, y: 0.5}
|
||||||
|
--- !u!222 &5056985346345925777
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3270453146200501843}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &269755967683626459
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3270453146200501843}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 14
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 0
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u5C97\u4F4D"
|
||||||
|
--- !u!1 &4662746993235610727
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5109177044161419473}
|
||||||
|
- component: {fileID: 3499520894903369127}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: table
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5109177044161419473
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4662746993235610727}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 5869169645648866990}
|
||||||
|
- {fileID: 5670546975218018817}
|
||||||
|
- {fileID: 6757377677546889116}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
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: 1506, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &3499520894903369127
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4662746993235610727}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Padding:
|
||||||
|
m_Left: 0
|
||||||
|
m_Right: 0
|
||||||
|
m_Top: 0
|
||||||
|
m_Bottom: 0
|
||||||
|
m_ChildAlignment: 0
|
||||||
|
m_StartCorner: 0
|
||||||
|
m_StartAxis: 0
|
||||||
|
m_CellSize: {x: 500, y: 50}
|
||||||
|
m_Spacing: {x: 0, y: 0}
|
||||||
|
m_Constraint: 1
|
||||||
|
m_ConstraintCount: 3
|
||||||
|
--- !u!1 &4846168556649703997
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6757377677546889116}
|
||||||
|
- component: {fileID: 4042023508275791067}
|
||||||
|
- component: {fileID: 2104585939805050903}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: txt_staff
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6757377677546889116
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4846168556649703997}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 8921306589692351249}
|
||||||
|
m_Father: {fileID: 5109177044161419473}
|
||||||
|
m_RootOrder: 2
|
||||||
|
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.5, y: 0.5}
|
||||||
|
--- !u!222 &4042023508275791067
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4846168556649703997}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &2104585939805050903
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4846168556649703997}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 14
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 0
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u4EBA\u5458"
|
||||||
|
--- !u!1 &5405959565276959676
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8921306589692351249}
|
||||||
|
- component: {fileID: 6114309360636434016}
|
||||||
|
- component: {fileID: 5895087215683241446}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8921306589692351249
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5405959565276959676}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 6757377677546889116}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6114309360636434016
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5405959565276959676}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &5895087215683241446
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5405959565276959676}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 8e00669feac65e14eb2fdf5fe2002a07, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &6696560913004539017
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8479228457662553104}
|
||||||
|
- component: {fileID: 7276872277936175673}
|
||||||
|
- component: {fileID: 7351189475924259758}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8479228457662553104
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6696560913004539017}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 5869169645648866990}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &7276872277936175673
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6696560913004539017}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &7351189475924259758
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6696560913004539017}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 8e00669feac65e14eb2fdf5fe2002a07, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &7790503544158239743
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 813832094512813817}
|
||||||
|
- component: {fileID: 5807485623531933259}
|
||||||
|
- component: {fileID: 6844047434809645466}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &813832094512813817
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7790503544158239743}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 5670546975218018817}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5807485623531933259
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7790503544158239743}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &6844047434809645466
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7790503544158239743}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 8e00669feac65e14eb2fdf5fe2002a07, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &7887251590722735927
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5869169645648866990}
|
||||||
|
- component: {fileID: 7735996699640058169}
|
||||||
|
- component: {fileID: 5471472193180083365}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: txt_serialNumber
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5869169645648866990
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7887251590722735927}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 8479228457662553104}
|
||||||
|
m_Father: {fileID: 5109177044161419473}
|
||||||
|
m_RootOrder: 0
|
||||||
|
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.5, y: 0.5}
|
||||||
|
--- !u!222 &7735996699640058169
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7887251590722735927}
|
||||||
|
m_CullTransparentMesh: 0
|
||||||
|
--- !u!114 &5471472193180083365
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7887251590722735927}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 14
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 0
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u7F16\u53F7"
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1761b0d002d9c4948943973f9b59ffd7
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 446be5197d5a7ca4e84da6d156e2e562
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -582,7 +582,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 0, y: 0.5}
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 292.11127}
|
m_AnchoredPosition: {x: 0, y: 336.79974}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &7621630000060616885
|
--- !u!114 &7621630000060616885
|
||||||
|
|
|
@ -207,8 +207,8 @@ MonoBehaviour:
|
||||||
m_TargetGraphic: {fileID: 2041327556}
|
m_TargetGraphic: {fileID: 2041327556}
|
||||||
m_HandleRect: {fileID: 2041327555}
|
m_HandleRect: {fileID: 2041327555}
|
||||||
m_Direction: 2
|
m_Direction: 2
|
||||||
m_Value: 1
|
m_Value: 0
|
||||||
m_Size: 1
|
m_Size: 0.99995255
|
||||||
m_NumberOfSteps: 0
|
m_NumberOfSteps: 0
|
||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
@ -254,7 +254,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 0, y: 0.5}
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 192.90756}
|
m_AnchoredPosition: {x: 0, y: 192.9076}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0, y: 1}
|
m_Pivot: {x: 0, y: 1}
|
||||||
--- !u!114 &5368324322812550597
|
--- !u!114 &5368324322812550597
|
||||||
|
@ -2468,7 +2468,6 @@ GameObject:
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 2111417303462367197}
|
- component: {fileID: 2111417303462367197}
|
||||||
- component: {fileID: 376330513978620042}
|
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: GameObject
|
m_Name: GameObject
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -2495,21 +2494,6 @@ RectTransform:
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &376330513978620042
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8554140764829052985}
|
|
||||||
m_Enabled: 0
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 9090e304e5f2bb04680a04c539e9d2ac, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
contents: []
|
|
||||||
prefab: {fileID: 369856217644406535, guid: 89da02f3d8c73f34ab62fe89cbe8c6f0, type: 3}
|
|
||||||
parent: {fileID: 1150735768}
|
|
||||||
--- !u!1 &8685785518437635626
|
--- !u!1 &8685785518437635626
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -41,8 +41,9 @@ public class Main_interface_Panel : XUIPanel
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void TrainPanel()
|
public void TrainPanel()
|
||||||
{
|
{
|
||||||
ClosePanel<ReplayPanel>();
|
//ClosePanel<ReplayPanel>();
|
||||||
ClosePanel<IntroducePanel>();
|
ClosePanel<DoublePlay>();
|
||||||
|
//ClosePanel<IntroducePanel>();
|
||||||
ShowPanel<View_Panel2>();
|
ShowPanel<View_Panel2>();
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -50,7 +51,8 @@ public class Main_interface_Panel : XUIPanel
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void ReplayPanel()
|
public void ReplayPanel()
|
||||||
{
|
{
|
||||||
ShowPanel<ReplayPanel>();
|
//ShowPanel<ReplayPanel>();
|
||||||
|
ShowPanel<DoublePlay>();
|
||||||
ClosePanel<View_Panel2>();
|
ClosePanel<View_Panel2>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 8bc85255cd8464f4a887218b288993ec
|
guid: aec34e47e7f97724fad61654ff0b8264
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8bc85255cd8464f4a887218b288993ec
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -1,4 +1,4 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using XFrame.Core.Localization;
|
using XFrame.Core.Localization;
|
||||||
using XFrame.Core.UI;
|
using XFrame.Core.UI;
|
||||||
|
@ -28,6 +28,7 @@ public class GameMain1 : MonoBehaviour
|
||||||
{
|
{
|
||||||
GameObject.Find("UIRoot2").SetActive(false);
|
GameObject.Find("UIRoot2").SetActive(false);
|
||||||
Singleton<Localization>.Create().Language = Localization.CHINESE;
|
Singleton<Localization>.Create().Language = Localization.CHINESE;
|
||||||
XUIPanel.ShowPanel<ReplayPanel>();
|
//XUIPanel.ShowPanel<ReplayPanel>();
|
||||||
|
XUIPanel.ShowPanel<DoublePlay>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ using Newtonsoft.Json.Linq;
|
||||||
public static class InterfaceManager
|
public static class InterfaceManager
|
||||||
{
|
{
|
||||||
|
|
||||||
private static string _IP = "172.20.10.5";
|
private static string _IP = "172.16.1.254";
|
||||||
public static string IP
|
public static string IP
|
||||||
{
|
{
|
||||||
get { return _IP; }
|
get { return _IP; }
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 26d11dd37f32cfe47bf5cfdc8ae3bdc6
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,14 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using XFrame.Core.UI;
|
||||||
|
public class DoublePlay : XUIPanel
|
||||||
|
{
|
||||||
|
|
||||||
|
public DoublePlay() : base(UIType.Normal, UIMode.HideOther, UICollider.Normal)
|
||||||
|
{
|
||||||
|
uiPath = "Prefabs/DoublePlay";
|
||||||
|
}
|
||||||
|
public override void Awake(GameObject go)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 970d86b137721d6449db490bfe7fa375
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,18 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class DoublePlayEvaluatePanel : MonoBehaviour
|
||||||
|
{
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: db1d60872aea3744a9798879b640352a
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,103 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class DoublePlayIntroduceList : MonoBehaviour
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 名称
|
||||||
|
/// </summary>
|
||||||
|
private Text txt_introduce;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练时间
|
||||||
|
/// </summary>
|
||||||
|
private Text txt_time;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练时长
|
||||||
|
/// </summary>
|
||||||
|
private Text txt_duration ;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 使用设备
|
||||||
|
/// </summary>
|
||||||
|
private Text txt_device;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练方式
|
||||||
|
/// </summary>
|
||||||
|
private Text txt_train;
|
||||||
|
/// <summary>
|
||||||
|
/// 操作流程
|
||||||
|
/// </summary>
|
||||||
|
private Text txt_active;
|
||||||
|
/// <summary>
|
||||||
|
/// 席位列表预制体
|
||||||
|
/// </summary>
|
||||||
|
public GameObject tablePrefab;
|
||||||
|
/// <summary>
|
||||||
|
/// 席位列表父物体
|
||||||
|
/// </summary>
|
||||||
|
public Transform tableParent;
|
||||||
|
/// <summary>
|
||||||
|
/// 席位列表
|
||||||
|
/// </summary>
|
||||||
|
public List<GameObject> tables = new List<GameObject>();
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
txt_introduce=transform.Find("Title/txt_introduce").GetComponent<Text>();
|
||||||
|
txt_time = transform.Find("Title/txt_time").GetComponent<Text>();
|
||||||
|
txt_duration = transform.Find("Title/txt_duration").GetComponent<Text>();
|
||||||
|
|
||||||
|
txt_device = transform.Find("Viewport/Content/txt_device/Text").GetComponent<Text>();
|
||||||
|
txt_train = transform.Find("Viewport/Content/txt_train/Text").GetComponent<Text>();
|
||||||
|
txt_active = transform.Find("Viewport/Content/txt_active/Text").GetComponent<Text>();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 展示数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="dataItem"></param>
|
||||||
|
/// <param name="traininginformation"></param>
|
||||||
|
/// <param name="value"></param>
|
||||||
|
public void IntroduceListShow(RDate.DataItem dataItem, Traininginformation traininginformation,int value)
|
||||||
|
{
|
||||||
|
txt_introduce.text = dataItem.Name + "_" + traininginformation.subjectsInfo[value].subjectName;
|
||||||
|
txt_time.text = dataItem.StartTime;
|
||||||
|
txt_duration.text =traininginformation.subjectsInfo[value].SubTime.ToString();
|
||||||
|
|
||||||
|
txt_device.text = "红方:探测雷达,激光火控平台,地面无线电干扰,频谱探测设备,微波武器\n蓝方:蜂群无人机";
|
||||||
|
txt_train.text =traininginformation.subjectsInfo[value].mode;
|
||||||
|
txt_active.text = "红方:摧毁所有蓝方无人机,保护我方重要设备\n蓝方:重点打击红方重要设备";
|
||||||
|
for(int i=0;i< traininginformation.subjectsInfo[value].seatInfos.Count; i++)
|
||||||
|
{
|
||||||
|
if (tables.Count > i)
|
||||||
|
{
|
||||||
|
GameObject _table = tables[i];
|
||||||
|
Text txt_serialNumber = _table.transform.Find("txt_serialNumber").GetComponent<Text>();
|
||||||
|
Text txt_post = _table.transform.Find("txt_post").GetComponent<Text>();
|
||||||
|
Text txt_staff = _table.transform.Find("txt_staff").GetComponent<Text>();
|
||||||
|
txt_staff.text = traininginformation.subjectsInfo[value].seatInfos[i].seatName;
|
||||||
|
Color _color = traininginformation.subjectsInfo[value].seatInfos[i].role == "0" ? Color.red : Color.blue;
|
||||||
|
txt_serialNumber.color = _color;
|
||||||
|
txt_post.color = _color;
|
||||||
|
txt_staff.color = _color;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GameObject _table = Instantiate(tablePrefab, tableParent);
|
||||||
|
tables.Add(_table);
|
||||||
|
Text txt_serialNumber = _table.transform.Find("txt_serialNumber").GetComponent<Text>();
|
||||||
|
Text txt_post = _table.transform.Find("txt_post").GetComponent<Text>();
|
||||||
|
Text txt_staff = _table.transform.Find("txt_staff").GetComponent<Text>();
|
||||||
|
txt_serialNumber.text = (i + 1).ToString() + "#";
|
||||||
|
txt_post.text = "学员";
|
||||||
|
txt_staff.text = traininginformation.subjectsInfo[value].seatInfos[i].seatName;
|
||||||
|
Color _color = traininginformation.subjectsInfo[value].seatInfos[i].role == "0" ? Color.red : Color.blue;
|
||||||
|
txt_serialNumber.color = _color;
|
||||||
|
txt_post.color = _color;
|
||||||
|
txt_staff.color = _color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 383f8ca346f702d429d609492ac52376
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,89 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using static InterfaceManager;
|
||||||
|
using RDate;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class DoublePlayMain : MonoBehaviour
|
||||||
|
{
|
||||||
|
public static DoublePlayMain instance;
|
||||||
|
/// <summary>
|
||||||
|
/// 所有房间数据接口
|
||||||
|
/// </summary>
|
||||||
|
[Header("所有房间数据接口")]
|
||||||
|
public RoomData roomdata = new RoomData();
|
||||||
|
/// <summary>
|
||||||
|
/// 复盘回访预制体
|
||||||
|
/// </summary>
|
||||||
|
[Header("复盘回访预制体")]
|
||||||
|
public GameObject DuplexPrefab;
|
||||||
|
/// <summary>
|
||||||
|
/// 复盘回访预制体父物体
|
||||||
|
/// </summary>
|
||||||
|
[Header("复盘回访预制体父物体")]
|
||||||
|
public Transform DuplexPrefabParent;
|
||||||
|
/// <summary>
|
||||||
|
/// 基本信息 脚本
|
||||||
|
/// </summary>
|
||||||
|
public DoublePlayIntroduceList doublePlayIntroduceList;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练评估 脚本
|
||||||
|
/// </summary>
|
||||||
|
public DoublePlayEvaluatePanel doublePlayEvaluatePanel;
|
||||||
|
/// <summary>
|
||||||
|
/// 基本信息tog
|
||||||
|
/// </summary>
|
||||||
|
private Toggle tog_informition;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练评估tog
|
||||||
|
/// </summary>
|
||||||
|
private Toggle tog_evaluate;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练回放
|
||||||
|
/// </summary>
|
||||||
|
private Button btn_video;
|
||||||
|
/// <summary>
|
||||||
|
/// 基本信息obj
|
||||||
|
/// </summary>
|
||||||
|
public GameObject IntroduceList;
|
||||||
|
/// <summary>
|
||||||
|
/// 训练评估obj
|
||||||
|
/// </summary>
|
||||||
|
public GameObject EvaluatePanel;
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
instance = this;
|
||||||
|
Debug.Log("url.:"+ Url_RoomList);
|
||||||
|
tog_informition = transform.Find("IntroducePanel/tog_informition").GetComponent<Toggle>();
|
||||||
|
tog_evaluate = transform.Find("IntroducePanel/tog_evaluate").GetComponent<Toggle>();
|
||||||
|
StartCoroutine(GetString(Url_RoomList, data => {
|
||||||
|
Debug.Log(data);
|
||||||
|
roomdata= JsonUtility.FromJson<RoomData>(data);
|
||||||
|
for (int i = 0; i < roomdata.data.Count; i++)
|
||||||
|
{
|
||||||
|
GameObject obj = Instantiate(DuplexPrefab, DuplexPrefabParent);
|
||||||
|
DropdownDouble dropdownDouble = obj.GetComponent<DropdownDouble>();
|
||||||
|
if (dropdownDouble)
|
||||||
|
{
|
||||||
|
dropdownDouble.dataItem = roomdata.data[i];
|
||||||
|
//Debug.Log(roomdata.data[i].Name);
|
||||||
|
dropdownDouble.Label = roomdata.data[i].Name;
|
||||||
|
}
|
||||||
|
obj.SetActive(true);
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
tog_informition.onValueChanged.AddListener(isOn => {
|
||||||
|
IntroduceList.transform.localScale = isOn ? Vector3.one : Vector3.zero;
|
||||||
|
EvaluatePanel.transform.localScale = isOn ? Vector3.zero : Vector3.one;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d81dc9d0b47f36b47bd24c300142a9c9
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,92 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using RDate;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
using static InterfaceManager;
|
||||||
|
/// <summary>
|
||||||
|
/// 复盘回放
|
||||||
|
/// </summary>
|
||||||
|
public class DropdownDouble : MonoBehaviour, IPointerClickHandler
|
||||||
|
{
|
||||||
|
private Dropdown dropdown;
|
||||||
|
|
||||||
|
public string Label;
|
||||||
|
/// <summary>
|
||||||
|
/// 详细数据
|
||||||
|
/// </summary>
|
||||||
|
public RDate.DataItem dataItem = new RDate.DataItem();
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public Traininginformation traininginformation = new Traininginformation();
|
||||||
|
/// <summary>
|
||||||
|
/// 房间数据
|
||||||
|
/// </summary>
|
||||||
|
public RSData.SubjectInfo currentSubjectInfo = new RSData.SubjectInfo();
|
||||||
|
public List<RSData.SubjectInfo> currentSubjectInfos =new List<RSData.SubjectInfo>();
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
//Debug.Log(Label.text);
|
||||||
|
dropdown = GetComponent<Dropdown>();
|
||||||
|
dropdown.onValueChanged.AddListener(OnDropdownValueChanged);
|
||||||
|
//dropdown.onPointerClick.AddListener(OnDropdownPointerClick);
|
||||||
|
traininginformation = JsonUtility.FromJson<Traininginformation>(dataItem.ThinkingData);
|
||||||
|
for(int i=0;i< traininginformation.subjectsInfo.Count; i++)
|
||||||
|
{
|
||||||
|
dropdown.AddOptions(new List<string> { Label + "_" + traininginformation.subjectsInfo[i].subjectName });
|
||||||
|
}
|
||||||
|
|
||||||
|
string url = Url_QueryPracticeSeat + dataItem.Id;
|
||||||
|
Debug.Log(url);
|
||||||
|
StartCoroutine(GetString(url, data => {
|
||||||
|
Debug.Log(data);
|
||||||
|
currentSubjectInfo = JsonUtility.FromJson<RSData.SubjectInfo>(data);
|
||||||
|
string[] strings =new string[currentSubjectInfo.data.Count];
|
||||||
|
for (int i=0;i< currentSubjectInfo.data.Count; i++)
|
||||||
|
{
|
||||||
|
strings[i] = currentSubjectInfo.data[i].PracticeSubjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
HashSet<string> uniqueStrings = new HashSet<string>();
|
||||||
|
|
||||||
|
foreach (string str in strings)
|
||||||
|
{
|
||||||
|
uniqueStrings.Add(str);
|
||||||
|
}
|
||||||
|
Debug.Log("不同的字符串数量为:" + uniqueStrings.Count);
|
||||||
|
|
||||||
|
foreach (string str in uniqueStrings)
|
||||||
|
{
|
||||||
|
Debug.Log(str);
|
||||||
|
RSData.SubjectInfo _currentSubjectInfo = new RSData.SubjectInfo();
|
||||||
|
List<RSData.SubjectDataItem> _data = currentSubjectInfo.data.FindAll(x => x.PracticeSubjectId == str);
|
||||||
|
_currentSubjectInfo.data = _data;
|
||||||
|
currentSubjectInfos.Add(_currentSubjectInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// 选项值改变事件
|
||||||
|
private void OnDropdownValueChanged(int optionIndex)
|
||||||
|
{
|
||||||
|
Debug.Log("Dropdown value 1: " + optionIndex);
|
||||||
|
DoublePlayMain.instance.doublePlayIntroduceList.IntroduceListShow(dataItem, traininginformation, optionIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 单击事件
|
||||||
|
public void OnPointerClick(PointerEventData eventData)
|
||||||
|
{
|
||||||
|
Debug.Log("Dropdown value 2: " + dropdown.value);
|
||||||
|
DoublePlayMain.instance.doublePlayIntroduceList.IntroduceListShow(dataItem, traininginformation, dropdown.value);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 47074e845c66a9d4fb44cc007a1cb58c
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue