线缆模块UI及基本逻辑完成

This commit is contained in:
高国正 2023-12-22 19:45:06 +08:00
parent 41710d5af6
commit 7aa71999d0
18 changed files with 6315 additions and 847 deletions

View File

@ -37,8 +37,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5} m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -120, y: -1} m_AnchoredPosition: {x: -61.4, y: -1}
m_SizeDelta: {x: 66, y: 31} m_SizeDelta: {x: 23, y: 31}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6559099280534308083 --- !u!222 &6559099280534308083
CanvasRenderer: CanvasRenderer:
@ -61,7 +61,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.003921569}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -162,7 +162,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 220, y: 0} m_AnchoredPosition: {x: 220, y: 0}
m_SizeDelta: {x: 440, y: 0} m_SizeDelta: {x: 264, y: 0}
m_Pivot: {x: 0.5, y: 1} m_Pivot: {x: 0.5, y: 1}
--- !u!222 &1599509668874627673 --- !u!222 &1599509668874627673
CanvasRenderer: CanvasRenderer:
@ -264,11 +264,11 @@ RectTransform:
m_Father: {fileID: 1599509669367794698} m_Father: {fileID: 1599509669367794698}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 10, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 250.8528, y: 42}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0, y: 0.5}
--- !u!222 &1599509669124742426 --- !u!222 &1599509669124742426
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -304,7 +304,7 @@ MonoBehaviour:
m_BestFit: 0 m_BestFit: 0
m_MinSize: 10 m_MinSize: 10
m_MaxSize: 40 m_MaxSize: 40
m_Alignment: 4 m_Alignment: 3
m_AlignByGeometry: 0 m_AlignByGeometry: 0
m_RichText: 1 m_RichText: 1
m_HorizontalOverflow: 0 m_HorizontalOverflow: 0
@ -426,8 +426,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5} m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5} m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -50, y: -1} m_AnchoredPosition: {x: -22, y: -1}
m_SizeDelta: {x: 66, y: 31} m_SizeDelta: {x: 23, y: 31}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1599509669367048429 --- !u!222 &1599509669367048429
CanvasRenderer: CanvasRenderer:
@ -450,7 +450,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.003921569}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -551,7 +551,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 440, y: 0} m_SizeDelta: {x: 264, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1599509669367794692 --- !u!222 &1599509669367794692
CanvasRenderer: CanvasRenderer:
@ -581,7 +581,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: e6978cbcdd456bd459eac9898aafadbf, type: 3} m_Sprite: {fileID: 21300000, guid: 4924dc2e14f4e3e4989368d2d6c1aa4a, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
@ -610,7 +610,7 @@ MonoBehaviour:
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0} m_SelectOnRight: {fileID: 0}
m_Transition: 1 m_Transition: 2
m_Colors: m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
@ -620,9 +620,10 @@ MonoBehaviour:
m_ColorMultiplier: 1 m_ColorMultiplier: 1
m_FadeDuration: 0.1 m_FadeDuration: 0.1
m_SpriteState: m_SpriteState:
m_HighlightedSprite: {fileID: 0} m_HighlightedSprite: {fileID: 21300000, guid: 0232ba543b3971940a68b5e216133479,
type: 3}
m_PressedSprite: {fileID: 0} m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0} m_SelectedSprite: {fileID: 21300000, guid: 0232ba543b3971940a68b5e216133479, type: 3}
m_DisabledSprite: {fileID: 0} m_DisabledSprite: {fileID: 0}
m_AnimationTriggers: m_AnimationTriggers:
m_NormalTrigger: Normal m_NormalTrigger: Normal
@ -694,7 +695,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 0.3645117, b: 0.28773582, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -703,10 +704,10 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
m_FontData: m_FontData:
m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3} m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3}
m_FontSize: 14 m_FontSize: 10
m_FontStyle: 0 m_FontStyle: 0
m_BestFit: 0 m_BestFit: 1
m_MinSize: 10 m_MinSize: 1
m_MaxSize: 40 m_MaxSize: 40
m_Alignment: 4 m_Alignment: 4
m_AlignByGeometry: 0 m_AlignByGeometry: 0
@ -774,7 +775,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 0.050980393, g: 0.78039217, b: 0.85490197, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -783,10 +784,10 @@ MonoBehaviour:
m_Calls: [] m_Calls: []
m_FontData: m_FontData:
m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3} m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3}
m_FontSize: 14 m_FontSize: 10
m_FontStyle: 0 m_FontStyle: 0
m_BestFit: 0 m_BestFit: 1
m_MinSize: 10 m_MinSize: 1
m_MaxSize: 40 m_MaxSize: 40
m_Alignment: 4 m_Alignment: 4
m_AlignByGeometry: 0 m_AlignByGeometry: 0

View File

@ -26,17 +26,18 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1474825848535286259} m_GameObject: {fileID: 1474825848535286259}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
m_Father: {fileID: 2667098230181378332} - {fileID: 3787492533531891494}
m_RootOrder: 2 m_Father: {fileID: 2825724390995137599}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -50, y: 0} m_AnchoredPosition: {x: -25, y: 0}
m_SizeDelta: {x: 24, y: 21} m_SizeDelta: {x: 24, y: 21}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5437286874768704030 --- !u!222 &5437286874768704030
@ -60,7 +61,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.003921569}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -121,6 +122,43 @@ MonoBehaviour:
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
--- !u!1 &2171335145269664088
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5966459494208352628}
m_Layer: 5
m_Name: 2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5966459494208352628
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2171335145269664088}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 615890653116916043}
m_Father: {fileID: 2667098230181378332}
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, y: 0.5}
--- !u!1 &2667098229716931966 --- !u!1 &2667098229716931966
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -147,17 +185,18 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2667098229716931966} m_GameObject: {fileID: 2667098229716931966}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children:
m_Father: {fileID: 2667098230181378332} - {fileID: 2545469035392255993}
m_Father: {fileID: 2825724390995137599}
m_RootOrder: 1 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -17.7, y: 0} m_AnchoredPosition: {x: 25, y: 0}
m_SizeDelta: {x: 24, y: 21} m_SizeDelta: {x: 24, y: 21}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2667098229716931962 --- !u!222 &2667098229716931962
@ -181,7 +220,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.003921569}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -255,6 +294,7 @@ GameObject:
- component: {fileID: 2667098230181378333} - component: {fileID: 2667098230181378333}
- component: {fileID: 6884019964645103951} - component: {fileID: 6884019964645103951}
- component: {fileID: 6838280647164711761} - component: {fileID: 6838280647164711761}
- component: {fileID: 5327841689325081161}
m_Layer: 5 m_Layer: 5
m_Name: LineItem m_Name: LineItem
m_TagString: Untagged m_TagString: Untagged
@ -274,16 +314,17 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 2667098230408268612} - {fileID: 5876844743177473950}
- {fileID: 2667098229716931967} - {fileID: 5966459494208352628}
- {fileID: 520170154516651132} - {fileID: 7526388521791231504}
- {fileID: 3240661847390447198}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 220, y: -20.5} m_AnchoredPosition: {x: 220, y: -20.5}
m_SizeDelta: {x: 440, y: 41} m_SizeDelta: {x: 737, y: 41}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2667098230181378330 --- !u!222 &2667098230181378330
CanvasRenderer: CanvasRenderer:
@ -313,7 +354,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: a1fa96150d0db43499fa5061f44031f2, type: 3} m_Sprite: {fileID: 21300000, guid: fecea6f6e45835e4698bcce0009820ee, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 0 m_PreserveAspect: 0
m_FillCenter: 1 m_FillCenter: 1
@ -338,6 +379,8 @@ MonoBehaviour:
lineGroupItem: {fileID: 0} lineGroupItem: {fileID: 0}
id: id:
info_text: {fileID: 2667098230408268613} info_text: {fileID: 2667098230408268613}
item_tittle_start_text: {fileID: 4118952100374500683}
item_tittle_end_text: {fileID: 3969926784701589051}
delete_button: {fileID: 2667098229716931964} delete_button: {fileID: 2667098229716931964}
set_button: {fileID: 4793275375293178802} set_button: {fileID: 4793275375293178802}
--- !u!114 &6838280647164711761 --- !u!114 &6838280647164711761
@ -353,6 +396,30 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
lines: [] lines: []
--- !u!114 &5327841689325081161
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2667098230181378335}
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: 184.25, y: 41}
m_Spacing: {x: 0, y: 0}
m_Constraint: 1
m_ConstraintCount: 4
--- !u!1 &2667098230408268615 --- !u!1 &2667098230408268615
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -378,19 +445,19 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2667098230408268615} m_GameObject: {fileID: 2667098230408268615}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 2667098230181378332} m_Father: {fileID: 5876844743177473950}
m_RootOrder: 0 m_RootOrder: 0
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.5, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 10, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 347, y: 30} m_SizeDelta: {x: 165, y: 41}
m_Pivot: {x: 0, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2667098230408268610 --- !u!222 &2667098230408268610
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -426,10 +493,479 @@ MonoBehaviour:
m_BestFit: 0 m_BestFit: 0
m_MinSize: 10 m_MinSize: 10
m_MaxSize: 40 m_MaxSize: 40
m_Alignment: 3 m_Alignment: 4
m_AlignByGeometry: 0 m_AlignByGeometry: 0
m_RichText: 1 m_RichText: 1
m_HorizontalOverflow: 0 m_HorizontalOverflow: 0
m_VerticalOverflow: 0 m_VerticalOverflow: 0
m_LineSpacing: 1 m_LineSpacing: 1
m_Text: "\u7EBF\u7F061\uFF1AR01-\u8BBE\u5907-\u677F\u5361-\u7AEF\u53E3a--R08-\u8BBE\u5907-\u677F\u5361-\u7AEF\u53E3b" m_Text: "XXX2M\u7EBF\u8FDE\u63A5"
--- !u!1 &3012503637005100855
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2825724390995137599}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2825724390995137599
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3012503637005100855}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 520170154516651132}
- {fileID: 2667098229716931967}
m_Father: {fileID: 3240661847390447198}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 184.25, y: 41}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5137936891499061036
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5876844743177473950}
m_Layer: 5
m_Name: 1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5876844743177473950
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5137936891499061036}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2667098230408268612}
m_Father: {fileID: 2667098230181378332}
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, y: 0.5}
--- !u!1 &5801778675110752494
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 615890653116916043}
- component: {fileID: 6883507916597826596}
- component: {fileID: 4118952100374500683}
m_Layer: 5
m_Name: ItemTittle_start
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &615890653116916043
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5801778675110752494}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5966459494208352628}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 165, y: 41}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6883507916597826596
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5801778675110752494}
m_CullTransparentMesh: 1
--- !u!114 &4118952100374500683
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5801778675110752494}
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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: R17S385 #12
--- !u!1 &5812122932305877015
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7526388521791231504}
m_Layer: 5
m_Name: 3
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7526388521791231504
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5812122932305877015}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5231284226698232988}
m_Father: {fileID: 2667098230181378332}
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, y: 0.5}
--- !u!1 &5966168616686924830
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2545469035392255993}
- component: {fileID: 6558452175307245371}
- component: {fileID: 6948439645135479537}
m_Layer: 5
m_Name: Text (Legacy)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2545469035392255993
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5966168616686924830}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2667098229716931967}
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 &6558452175307245371
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5966168616686924830}
m_CullTransparentMesh: 1
--- !u!114 &6948439645135479537
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5966168616686924830}
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: 0.3647059, b: 0.28627452, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u5220\u9664\n"
--- !u!1 &6036436440125686429
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5231284226698232988}
- component: {fileID: 6710310759308042113}
- component: {fileID: 3969926784701589051}
m_Layer: 5
m_Name: ItemTittle_end
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5231284226698232988
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036436440125686429}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7526388521791231504}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 165, y: 41}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6710310759308042113
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036436440125686429}
m_CullTransparentMesh: 1
--- !u!114 &3969926784701589051
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036436440125686429}
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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "R18\u76D8\u8FC1\u76D2#18"
--- !u!1 &7205510616273073581
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3787492533531891494}
- component: {fileID: 8148424608224553168}
- component: {fileID: 504946300025323485}
m_Layer: 5
m_Name: Text (Legacy) (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3787492533531891494
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7205510616273073581}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 520170154516651132}
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 &8148424608224553168
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7205510616273073581}
m_CullTransparentMesh: 1
--- !u!114 &504946300025323485
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7205510616273073581}
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: 0.050980393, g: 0.78039217, b: 0.85490197, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: f945cd23a57e99b46ac65684d5bb3be8, type: 3}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 1
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u4FEE\u6539\n"
--- !u!1 &8986806178187664891
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3240661847390447198}
m_Layer: 5
m_Name: 4
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3240661847390447198
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8986806178187664891}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2825724390995137599}
m_Father: {fileID: 2667098230181378332}
m_RootOrder: 3
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}

View File

@ -459,18 +459,6 @@ Transform:
m_Father: {fileID: 702134478} m_Father: {fileID: 702134478}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &13727819 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843773849455532, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &13853619 stripped --- !u!224 &13853619 stripped
RectTransform: RectTransform:
m_CorrespondingSourceObject: {fileID: 2070078800726626112, guid: cfa16bd5e782e264e9dc6857484d2551, m_CorrespondingSourceObject: {fileID: 2070078800726626112, guid: cfa16bd5e782e264e9dc6857484d2551,
@ -13886,18 +13874,6 @@ RectTransform:
m_AnchoredPosition: {x: 5.4700003, y: 19.239902} m_AnchoredPosition: {x: 5.4700003, y: 19.239902}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &99182329 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843773896119582, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &101521748 --- !u!1 &101521748
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -15422,7 +15398,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -0.0000076293945} m_AnchoredPosition: {x: 0, y: -0.000010979594}
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 &155917793 --- !u!114 &155917793
@ -23013,7 +22989,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1} m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -0.00006438885} m_AnchoredPosition: {x: 0, y: -0.000031041545}
m_SizeDelta: {x: 318.95, y: 443.74} m_SizeDelta: {x: 318.95, y: 443.74}
m_Pivot: {x: 0.5, y: 1} m_Pivot: {x: 0.5, y: 1}
--- !u!114 &413199003 --- !u!114 &413199003
@ -26786,114 +26762,6 @@ LightProbeGroup:
- {x: -1, y: -1, z: 1} - {x: -1, y: -1, z: 1}
- {x: -1, y: -1, z: -1} - {x: -1, y: -1, z: -1}
m_Dering: 1 m_Dering: 1
--- !u!1 &540376522
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 540376523}
- component: {fileID: 540376526}
- component: {fileID: 540376525}
- component: {fileID: 540376524}
m_Layer: 5
m_Name: '#####'
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &540376523
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 540376522}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1824608828}
m_Father: {fileID: 882156614}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 445, y: -3}
m_SizeDelta: {x: 440, y: 280}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &540376524
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 540376522}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Content: {fileID: 1714334438}
m_Horizontal: 0
m_Vertical: 1
m_MovementType: 1
m_Elasticity: 0.1
m_Inertia: 1
m_DecelerationRate: 0.135
m_ScrollSensitivity: 1
m_Viewport: {fileID: 1824608828}
m_HorizontalScrollbar: {fileID: 0}
m_VerticalScrollbar: {fileID: 0}
m_HorizontalScrollbarVisibility: 2
m_VerticalScrollbarVisibility: 2
m_HorizontalScrollbarSpacing: -3
m_VerticalScrollbarSpacing: -3
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
--- !u!114 &540376525
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 540376522}
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: 0.392}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
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!222 &540376526
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 540376522}
m_CullTransparentMesh: 1
--- !u!1 &541271098 --- !u!1 &541271098
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -29418,18 +29286,6 @@ RectTransform:
type: 3} type: 3}
m_PrefabInstance: {fileID: 139263640} m_PrefabInstance: {fileID: 139263640}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!114 &643720988 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843774427682043, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: eae1b85cd48a1274baf2c5c8167ab351, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &645604203 --- !u!1001 &645604203
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -34077,18 +33933,6 @@ LightProbeGroup:
- {x: -1, y: -1, z: 1} - {x: -1, y: -1, z: 1}
- {x: -1, y: -1, z: -1} - {x: -1, y: -1, z: -1}
m_Dering: 1 m_Dering: 1
--- !u!114 &783943308 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843772517481178, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &786378977 --- !u!1 &786378977
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -37548,12 +37392,6 @@ LightProbeGroup:
- {x: -1, y: -1, z: 1} - {x: -1, y: -1, z: 1}
- {x: -1, y: -1, z: -1} - {x: -1, y: -1, z: -1}
m_Dering: 1 m_Dering: 1
--- !u!224 &882156614 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 5977727790842883243, guid: bcce6075fb5400f43a995d7801bac6c9,
type: 3}
m_PrefabInstance: {fileID: 1577567297}
m_PrefabAsset: {fileID: 0}
--- !u!224 &883563078 stripped --- !u!224 &883563078 stripped
RectTransform: RectTransform:
m_CorrespondingSourceObject: {fileID: 2070078800726626112, guid: cfa16bd5e782e264e9dc6857484d2551, m_CorrespondingSourceObject: {fileID: 2070078800726626112, guid: cfa16bd5e782e264e9dc6857484d2551,
@ -43515,7 +43353,7 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 162051362} m_TargetGraphic: {fileID: 162051362}
m_HandleRect: {fileID: 162051361} m_HandleRect: {fileID: 162051361}
m_Direction: 2 m_Direction: 2
m_Value: 0 m_Value: 1
m_Size: 1 m_Size: 1
m_NumberOfSteps: 0 m_NumberOfSteps: 0
m_OnValueChanged: m_OnValueChanged:
@ -47024,18 +46862,6 @@ RectTransform:
type: 3} type: 3}
m_PrefabInstance: {fileID: 197778309} m_PrefabInstance: {fileID: 197778309}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!114 &1191319404 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843772804211851, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1191423810 --- !u!1 &1191423810
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -49341,18 +49167,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1269930020} m_GameObject: {fileID: 1269930020}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!114 &1272037576 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843772591141679, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1275498696 stripped --- !u!114 &1275498696 stripped
MonoBehaviour: MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 987821152056369828, guid: 3798e4d0b0b60c74d93f2407fb813c22, m_CorrespondingSourceObject: {fileID: 987821152056369828, guid: 3798e4d0b0b60c74d93f2407fb813c22,
@ -55432,18 +55246,6 @@ LightProbeGroup:
- {x: -1, y: -1, z: 1} - {x: -1, y: -1, z: 1}
- {x: -1, y: -1, z: -1} - {x: -1, y: -1, z: -1}
m_Dering: 1 m_Dering: 1
--- !u!114 &1519637884 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843772343805595, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: eae1b85cd48a1274baf2c5c8167ab351, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1524572022 --- !u!1 &1524572022
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -57384,15 +57186,6 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 4362348816139420719} m_TransformParent: {fileID: 4362348816139420719}
m_Modifications: m_Modifications:
- target: {fileID: 168195687, guid: bcce6075fb5400f43a995d7801bac6c9, type: 3}
propertyPath: line_content_right
value:
objectReference: {fileID: 1714334437}
- target: {fileID: 5977727790842883242, guid: bcce6075fb5400f43a995d7801bac6c9,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5977727791788803776, guid: bcce6075fb5400f43a995d7801bac6c9, - target: {fileID: 5977727791788803776, guid: bcce6075fb5400f43a995d7801bac6c9,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
@ -61322,84 +61115,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1714115221} m_GameObject: {fileID: 1714115221}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1 &1714334437
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1714334438}
- component: {fileID: 1714334440}
- component: {fileID: 1714334439}
m_Layer: 5
m_Name: GroupContent
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1714334438
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1714334437}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1824608828}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &1714334439
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1714334437}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 0
m_VerticalFit: 2
--- !u!114 &1714334440
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1714334437}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
m_ChildControlHeight: 1
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
--- !u!1 &1714821476 --- !u!1 &1714821476
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -61506,18 +61221,6 @@ LightProbeGroup:
- {x: -1, y: -1, z: 1} - {x: -1, y: -1, z: 1}
- {x: -1, y: -1, z: -1} - {x: -1, y: -1, z: -1}
m_Dering: 1 m_Dering: 1
--- !u!114 &1721162461 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843773350242618, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: eae1b85cd48a1274baf2c5c8167ab351, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1722053669 --- !u!1 &1722053669
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -63154,18 +62857,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1781658170} m_GameObject: {fileID: 1781658170}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!114 &1781793003 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1907843773155095308, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1783586375 --- !u!1 &1783586375
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -64564,6 +64255,7 @@ MonoBehaviour:
gj_cx: gj_cx:
gzp_cx: gzp_cx:
jxp_cx: jxp_cx:
xl_sc:
xlz_cx: xlz_cx:
xlz_xz: xlz_xz:
xlz_sc: xlz_sc:
@ -64575,7 +64267,7 @@ MonoBehaviour:
jqr_bczb: jqr_bczb:
jqr_xj_cx: jqr_xj_cx:
arguments: arguments:
token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDMyMTI2OTUsInVzZXJuYW1lIjoiMTgzMTIzNDU2NzgifQ.X9yiyFhm87-T4deXyYt6CqPc5Sz8PJ9QCrZCPVZHJuM token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDMzMjk3MzAsInVzZXJuYW1lIjoiMTgzMTIzNDU2NzgifQ.u9k5KeUdf5Dwhu8Sm0k08Xt1sw2fvnnz43W4FRPycBQ
heatThresholdValueMax: heatThresholdValueMax:
heatThresholdValueMin: heatThresholdValueMin:
humidityThresholdValueMax: humidityThresholdValueMax:
@ -64685,8 +64377,6 @@ MonoBehaviour:
code: code:
message: message:
totalRows: totalRows:
pageSize: 0
pageNum: 0
data: [] data: []
TmsPorts_go: [] TmsPorts_go: []
TmsPorts: [] TmsPorts: []
@ -65048,97 +64738,6 @@ MeshFilter:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1816534963} m_GameObject: {fileID: 1816534963}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1824608827
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1824608828}
- component: {fileID: 1824608831}
- component: {fileID: 1824608830}
- component: {fileID: 1824608829}
m_Layer: 5
m_Name: Viewport
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1824608828
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1824608827}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1714334438}
m_Father: {fileID: 540376523}
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, y: 1}
--- !u!114 &1824608829
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1824608827}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ShowMaskGraphic: 0
--- !u!114 &1824608830
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1824608827}
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_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
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!222 &1824608831
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1824608827}
m_CullTransparentMesh: 1
--- !u!1 &1825064910 --- !u!1 &1825064910
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -75454,16 +75053,6 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 4362348816139420719} m_TransformParent: {fileID: 4362348816139420719}
m_Modifications: m_Modifications:
- target: {fileID: 5573925246183871570, guid: d415bab3d0dcfcc4a83fe659064820d6,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8297822068084289411, guid: d415bab3d0dcfcc4a83fe659064820d6,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8297822069494747921, guid: d415bab3d0dcfcc4a83fe659064820d6, - target: {fileID: 8297822069494747921, guid: d415bab3d0dcfcc4a83fe659064820d6,
type: 3} type: 3}
propertyPath: m_Pivot.x propertyPath: m_Pivot.x
@ -119159,71 +118748,6 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 8170702882014044262} m_TransformParent: {fileID: 8170702882014044262}
m_Modifications: m_Modifications:
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: port
value:
objectReference: {fileID: 13727819}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: conPort
value:
objectReference: {fileID: 1907843773861049320}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: portCode
value:
objectReference: {fileID: 1272037576}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: portName
value:
objectReference: {fileID: 99182329}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: portType
value:
objectReference: {fileID: 0}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: cableName
value:
objectReference: {fileID: 1191319404}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: conCabinet
value:
objectReference: {fileID: 643720988}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: deviceName
value:
objectReference: {fileID: 1781793003}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: conPortCode
value:
objectReference: {fileID: 1907843773861049322}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: conPortName
value:
objectReference: {fileID: 1907843773861049321}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: startCabinet
value:
objectReference: {fileID: 1519637884}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: conDeviceName
value:
objectReference: {fileID: 783943308}
- target: {fileID: 575237078352657706, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: cableGroupName
value:
objectReference: {fileID: 1721162461}
- target: {fileID: 575237078352657748, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657748, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
@ -119267,12 +118791,12 @@ PrefabInstance:
- target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_SizeDelta.x propertyPath: m_SizeDelta.x
value: 330 value: 344
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_SizeDelta.y propertyPath: m_SizeDelta.y
value: 520 value: 604
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
@ -119312,12 +118836,12 @@ PrefabInstance:
- target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 702 value: -681
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: 0 value: 16.164795
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 575237078352657749, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
@ -119334,6 +118858,36 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1890608099064758529, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890608099064758529, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890608099064758529, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890608099064758529, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890608099064758529, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890608099064758529, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843772416684932, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 1907843772416684932, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
@ -119614,21 +119168,6 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1907843773702193540, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_Size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1907843773702193541, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843773702193541, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843773913430142, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 1907843773913430142, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
@ -119689,45 +119228,10 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1907843773990322711, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843773990322711, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843773990322711, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843773990322711, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843774066353948, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843774066353948, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 1907843774066353948, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: 0.00085312704 value: 0.8551618
objectReference: {fileID: 0}
- target: {fileID: 1907843774098386396, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1907843774098386396, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1907843774187732534, guid: f12e732b7b6c24e489ac02c8af4e7a78, - target: {fileID: 1907843774187732534, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3} type: 3}
@ -119771,42 +119275,6 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f12e732b7b6c24e489ac02c8af4e7a78, type: 3} m_SourcePrefab: {fileID: 100100000, guid: f12e732b7b6c24e489ac02c8af4e7a78, type: 3}
--- !u!114 &1907843773861049320 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 6427374442315812085, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1907843773861049321 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8204366821478145849, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1907843773861049322 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 7303840949993449257, guid: f12e732b7b6c24e489ac02c8af4e7a78,
type: 3}
m_PrefabInstance: {fileID: 1907843773861049319}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1908755699730042670 --- !u!1 &1908755699730042670
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -153764,6 +153232,11 @@ PrefabInstance:
propertyPath: m_SizeDelta.x propertyPath: m_SizeDelta.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1320083962079719021, guid: 1e43385ddb3feca44b3c45d23ef4fae7,
type: 3}
propertyPath: m_Value
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1320083962101217944, guid: 1e43385ddb3feca44b3c45d23ef4fae7, - target: {fileID: 1320083962101217944, guid: 1e43385ddb3feca44b3c45d23ef4fae7,
type: 3} type: 3}
propertyPath: m_Pivot.x propertyPath: m_Pivot.x
@ -153942,12 +153415,12 @@ PrefabInstance:
- target: {fileID: 1320083963247866209, guid: 1e43385ddb3feca44b3c45d23ef4fae7, - target: {fileID: 1320083963247866209, guid: 1e43385ddb3feca44b3c45d23ef4fae7,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: -0.00012207031 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1320083963247866209, guid: 1e43385ddb3feca44b3c45d23ef4fae7, - target: {fileID: 1320083963247866209, guid: 1e43385ddb3feca44b3c45d23ef4fae7,
type: 3} type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -0.000038146973 value: -0.000011412427
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1320083963538104764, guid: 1e43385ddb3feca44b3c45d23ef4fae7, - target: {fileID: 1320083963538104764, guid: 1e43385ddb3feca44b3c45d23ef4fae7,
type: 3} type: 3}
@ -153984,6 +153457,11 @@ PrefabInstance:
propertyPath: m_Name propertyPath: m_Name
value: "Button_\u641C\u7D22" value: "Button_\u641C\u7D22"
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8745787871184868115, guid: 1e43385ddb3feca44b3c45d23ef4fae7,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 26
objectReference: {fileID: 0}
m_RemovedComponents: m_RemovedComponents:
- {fileID: 8357765580518675660, guid: 1e43385ddb3feca44b3c45d23ef4fae7, type: 3} - {fileID: 8357765580518675660, guid: 1e43385ddb3feca44b3c45d23ef4fae7, type: 3}
m_SourcePrefab: {fileID: 100100000, guid: 1e43385ddb3feca44b3c45d23ef4fae7, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 1e43385ddb3feca44b3c45d23ef4fae7, type: 3}

View File

@ -46,17 +46,7 @@ public class LineGroupItem : MonoBehaviour
do_init = true; do_init = true;
expand_button.onClick.AddListener(() => expand_button.onClick.AddListener(() =>
{ {
LineGroupManager.Instance.selected_group_name = info_text.text; showRightPop();
LineGroupManager.Instance.Empty_line_content_right();
for (int i = 0; i < child_line_items.Count; i++)
{
LineItem item = LineObjectPool.Instance.GetItemFromPool<LineItem>();
item.transform.SetParent(LineGroupManager.Instance.line_content_right.transform);
item.info_text.text = child_line_items[i].info_text.text;
item.lineGroupItem = child_line_items[i].transform.parent.parent.GetComponent<LineGroupItem>();
item.gameObject.GetComponent<LocatingCable>().lines = child_line_items[i].GetComponent<LocatingCable>().lines;
}
//return; //return;
//line_item_content.SetActive(!line_item_content.activeSelf); //line_item_content.SetActive(!line_item_content.activeSelf);
}); });
@ -104,30 +94,9 @@ public class LineGroupItem : MonoBehaviour
}); });
edit_button.onClick.AddListener(() => edit_button.onClick.AddListener(() =>
{ {
LineQuery.Inst.editJsonCoroutine(id, "", (x, y) => LineGroupManager.Instance.line_group_editName_inputfield.text = string.Empty;
{ showRightPop();
if (x) LineGroupManager.Instance.edit_group_pop.SetActive(true);
{
StartCoroutine(LineQuery.Inst.Succeed((z) =>
{
if (z)
{ }
else
{
SecondConfirmPanel.DeleteConform(null, "更新场景失败");
Debug.Log("接口获取数据失败(线缆组修改-初始化失败)");
}
}));
}
else
{
string v = "修改线缆组失败";
if (y != null)
v = y.message;
SecondConfirmPanel.DeleteConform(null, v);
}
});
}); });
} }
@ -136,13 +105,15 @@ public class LineGroupItem : MonoBehaviour
/// Ìí¼ÓÏßÀ /// Ìí¼ÓÏßÀÂ
/// </summary> /// </summary>
[ContextMenu("Ìí¼Ó")] [ContextMenu("Ìí¼Ó")]
public void AddLineItem(string info, List<Transform> lines) public void AddLineItem(string info, List<Transform> lines, List<string> strings)
{ {
var item = LineObjectPool.Instance.GetItemFromPool<LineItem>(); var item = LineObjectPool.Instance.GetItemFromPool<LineItem>();
item.transform.SetParent(line_item_content.transform); item.transform.SetParent(line_item_content.transform);
child_line_items.Add(item); child_line_items.Add(item);
//´«µÝÊý¾Ý //´«µÝÊý¾Ý
item.info_text.text = info; item.info_text.text = info;
item.item_tittle_start_text.text = strings[0].Replace("$", " ");
item.item_tittle_end_text.text = strings[1].Replace("$", " ");
item.gameObject.GetComponent<LocatingCable>().lines = lines; item.gameObject.GetComponent<LocatingCable>().lines = lines;
} }
@ -169,4 +140,26 @@ public class LineGroupItem : MonoBehaviour
} }
child_line_items.Clear(); child_line_items.Clear();
} }
/// <summary>
/// ÏÔʾÓҲࣨÏßÀÂĿ¼£©
/// </summary>
public void showRightPop()
{
LineGroupManager.Instance.selected_group_name = info_text.text;
LineGroupManager.Instance.selected_group_ID = this.id;
LineGroupManager.Instance.Empty_line_content_right();
for (int i = 0; i < child_line_items.Count; i++)
{
LineItem item = LineObjectPool.Instance.GetItemFromPool<LineItem>();
item.transform.SetParent(LineGroupManager.Instance.line_content_right.transform);
item.info_text.text = child_line_items[i].info_text.text;
item.item_tittle_start_text.text = child_line_items[i].item_tittle_start_text.text;
item.item_tittle_end_text.text = child_line_items[i].item_tittle_end_text.text;
item.lineGroupItem = child_line_items[i].transform.parent.parent.GetComponent<LineGroupItem>();
item.gameObject.GetComponent<LocatingCable>().lines = child_line_items[i].GetComponent<LocatingCable>().lines;
}
}
} }

View File

@ -1,4 +1,5 @@
using System.Collections.Generic; using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
@ -11,15 +12,28 @@ public class LineGroupManager : MonoBehaviour
Instance = this; Instance = this;
} }
public GameObject panel_object; public GameObject panel_object;
public Button cls_bt;
[Header("当前选中线缆组")]
/// <summary> /// <summary>
/// 当前选中的线缆组名 /// 当前选中的线缆组名
/// </summary> /// </summary>
public string selected_group_name; public string selected_group_name;
public InputField line_group_name_inputfield; public string selected_group_ID;
/// <summary> /// <summary>
/// 新增线缆组弹窗 /// 新增线缆组弹窗
/// </summary> /// </summary>
public GameObject add_group_pop; [Header("线缆组弹窗")] public GameObject add_group_pop;
public GameObject edit_group_pop;
[Header("新增线缆")] public Button add_cable_bt;
[Header("线缆组新增")]
public InputField line_group_name_inputfield;
/// <summary> /// <summary>
/// 新增按钮 /// 新增按钮
/// </summary> /// </summary>
@ -32,20 +46,44 @@ public class LineGroupManager : MonoBehaviour
/// 取消新增线缆组 /// 取消新增线缆组
/// </summary> /// </summary>
public Button cancel_line_group_button; public Button cancel_line_group_button;
public Button add_line_group_cls_button;
[Header("线缆组修改")]
public InputField line_group_editName_inputfield;
public Button editSave_group_button;
public Button cancel_group_button;
public Button edit_group_cls_button;
/// <summary> /// <summary>
/// 线缆组容器 /// 线缆组容器
/// </summary> /// </summary>
public GameObject line_group_content; [Header("容器")] public GameObject line_group_content;
/// <summary> /// <summary>
/// 线缆容器(右) /// 线缆容器(右)
/// </summary> /// </summary>
public GameObject line_content_right; public GameObject line_content_right;
/// <summary>
/// 所有线缆组脚本
/// </summary>
public List<LineGroupItem> child_line_group_items = new List<LineGroupItem>(); public List<LineGroupItem> child_line_group_items = new List<LineGroupItem>();
private void Start() private void Start()
{ {
cls_bt.onClick.AddListener(() => { panel_object.SetActive(false); });
add_cable_bt.onClick.AddListener(() =>
{
RedactPort.Inst.mybody = new RedactPort.Body();
RedactPort.Inst.PortList1_game = null;
RedactPort.Inst.PortList2_game = null;
RedactPort.Inst.PortList1 = null;
RedactPort.Inst.PortList2 = null;
panel_object.SetActive(false);
PatternChoose.Inst.dk_bj_page.SetActive(true);
});
//线缆组新增
add_group.onClick.AddListener(() => add_group.onClick.AddListener(() =>
{ {
add_group_pop.SetActive(true); add_group_pop.SetActive(true);
@ -56,7 +94,24 @@ public class LineGroupManager : MonoBehaviour
if (!string.IsNullOrWhiteSpace(line_group_name_inputfield.text)) if (!string.IsNullOrWhiteSpace(line_group_name_inputfield.text))
{ {
//AddLineGroup(line_group_name_inputfield.text); //AddLineGroup(line_group_name_inputfield.text);
LineQuery.Inst.StartCoroutine(LineQuery.Inst.SaveJsonCoroutine(line_group_name_inputfield.text)); LineQuery.Inst.StartCoroutine(LineQuery.Inst.SaveJsonCoroutine(line_group_name_inputfield.text, x =>
{
add_group_pop.SetActive(false);
if (x)
{
StartCoroutine(LineQuery.Inst.Succeed((z) =>
{
if (z)
{ }
else
{
SecondConfirmPanel.DeleteConform(null, "更新场景失败");
Debug.Log("接口获取数据失败(线缆组新增-初始化失败)");
}
}));
}
}));
} }
}); });
cancel_line_group_button.onClick.AddListener(() => cancel_line_group_button.onClick.AddListener(() =>
@ -64,6 +119,52 @@ public class LineGroupManager : MonoBehaviour
add_group_pop.SetActive(false); add_group_pop.SetActive(false);
line_group_name_inputfield.text = string.Empty; line_group_name_inputfield.text = string.Empty;
}); });
add_line_group_cls_button.onClick.AddListener(() =>
{
add_group_pop.SetActive(false);
line_group_name_inputfield.text = string.Empty;
});
//线缆组修改
editSave_group_button.onClick.AddListener(() =>
{
//点击保存
LineQuery.Inst.editJsonCoroutine(selected_group_ID, line_group_editName_inputfield.text, (x, y) =>
{
edit_group_pop.SetActive(false);
if (x)
{
StartCoroutine(LineQuery.Inst.Succeed((z) =>
{
if (z)
{ }
else
{
SecondConfirmPanel.DeleteConform(null, "更新场景失败");
Debug.Log("接口获取数据失败(线缆组修改-初始化失败)");
}
}));
}
else
{
string v = "修改线缆组失败";
if (y != null)
v = y.message;
SecondConfirmPanel.DeleteConform(null, v);
}
});
});
cancel_group_button.onClick.AddListener(() =>
{
edit_group_pop.SetActive(false);
line_group_editName_inputfield.text = string.Empty;
});
edit_group_cls_button.onClick.AddListener(() =>
{
edit_group_pop.SetActive(false);
line_group_editName_inputfield.text = string.Empty;
});
} }
public void addxianlan() public void addxianlan()
@ -83,9 +184,34 @@ public class LineGroupManager : MonoBehaviour
{ {
//lineGroupItem.AddLineItem(xianlan.transform.GetChild(j).GetComponent<LineInfor>().cableName); //lineGroupItem.AddLineItem(xianlan.transform.GetChild(j).GetComponent<LineInfor>().cableName);
foreach (var item in xianlan.transform.GetChild(j).GetComponentsInChildren<LineInfor>(true)) //foreach (var item in xianlan.transform.GetChild(j).GetComponentsInChildren<LineInfor>(true))
foreach (var item in xianlan.transform.GetChild(j).GetComponentsInChildren<LineRendererInteraction>(true))
{ {
lineGroupItem.AddLineItem(item.name, item.lines); var lines = item.GetComponent<LineInfor>().lines;
if (lines[1])
{
var p0 = lines[0].GetComponent<PortQuery>();
var p1 = lines[1].GetComponent<PortQuery>();
List<string> strings;
if (p0.portList.startFlag == 1)
{
strings = new List<string>
{
item.port_A_cabinet+"$"+item.port_A_deviceName+"$#"+item.port_A,
item.port_B_cabinet+"$"+item.port_B_deviceName+"$#"+item.port_B
};
}
else
{
strings = new List<string>
{
item.port_B_cabinet+"$"+item.port_B_deviceName+"$#"+item.port_B,
item.port_A_cabinet+"$"+item.port_A_deviceName+"$#"+item.port_A,
};
}
lineGroupItem.AddLineItem(item.name, lines, strings);
}
} }
} }
} }
@ -110,6 +236,9 @@ public class LineGroupManager : MonoBehaviour
public void ShowPanel() public void ShowPanel()
{ {
selected_group_name = string.Empty; selected_group_name = string.Empty;
selected_group_ID = string.Empty;
PatternChoose.Inst.dk_bj_page.gameObject.SetActive(false);
PatternChoose.Inst.dk_xz_page.gameObject.SetActive(false);
panel_object.SetActive(true); panel_object.SetActive(true);
AddLineGroupInit(); AddLineGroupInit();
} }
@ -120,6 +249,7 @@ public class LineGroupManager : MonoBehaviour
public void HidePanel() public void HidePanel()
{ {
selected_group_name = string.Empty; selected_group_name = string.Empty;
selected_group_ID = string.Empty;
panel_object.SetActive(false); panel_object.SetActive(false);
} }
@ -140,7 +270,7 @@ public class LineGroupManager : MonoBehaviour
//SecondConfirmPanel.DeleteConform(null, "存在重复名称"); //SecondConfirmPanel.DeleteConform(null, "存在重复名称");
return; return;
} }
int? a = line_group_content.transform.childCount;
var item = LineObjectPool.Instance.GetItemFromPool<LineGroupItem>(); var item = LineObjectPool.Instance.GetItemFromPool<LineGroupItem>();
item.transform.SetParent(line_group_content.transform); item.transform.SetParent(line_group_content.transform);
child_line_group_items.Add(item); child_line_group_items.Add(item);
@ -153,14 +283,27 @@ public class LineGroupManager : MonoBehaviour
} }
/// <summary> /// <summary>
/// »ØÊÕÓÒ²à¶ÔÏó /// 回收右侧对象(线缆)
/// </summary> /// </summary>
public void Empty_line_content_right() public void Empty_line_content_right()
{ {
var l = line_content_right.GetComponentsInChildren<LineItem>(); var l = line_content_right.GetComponentsInChildren<LineItem>(true);
for (int i = l.Length - 1; i >= 0; i--) for (int i = l.Length - 1; i >= 0; i--)
{ {
LineObjectPool.Instance.PushItemToPool<LineItem>(l[i]); LineObjectPool.Instance.PushItemToPool<LineItem>(l[i]);
} }
} }
/// <summary>
/// 回收左侧对象(线缆组)
/// </summary>
public void Empty_line_content_left()
{
child_line_group_items.Clear();
var l = line_group_content.GetComponentsInChildren<LineGroupItem>(true);
for (int i = l.Length - 1; i >= 0; i--)
{
LineObjectPool.Instance.PushItemToPool<LineGroupItem>(l[i]);
}
}
} }

View File

@ -1,13 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
public class LineItem : MonoBehaviour public class LineItem : MonoBehaviour
{ {
public LineGroupItem lineGroupItem; public LineGroupItem lineGroupItem;
public string id; public string id;
public Text info_text; public Text info_text;
public Text item_tittle_start_text;
public Text item_tittle_end_text;
public Button delete_button; public Button delete_button;
public Button set_button; public Button set_button;
@ -44,7 +45,28 @@ public class LineItem : MonoBehaviour
if (set_button) if (set_button)
set_button.onClick.AddListener(() => set_button.onClick.AddListener(() =>
{ {
LineGroupManager.Instance.panel_object.SetActive(false);
Debug.Log("ÐÞ¸Ä"); Debug.Log("ÐÞ¸Ä");
//ÅÐ¶ÏÆðʼ¶Ë¿Ú
LocatingCable locatingCable = GetComponent<LocatingCable>();
PortQuery p = new PortQuery();
if (locatingCable.lines[0].GetComponent<PortQuery>().portList.startFlag == 1)
{
p = locatingCable.lines[0].GetComponent<PortQuery>();
GameManager.Inst.nowDevice = locatingCable.lines[0].gameObject;
RedactPort.Inst.PortList1_game = locatingCable.lines[0].gameObject;
}
else
{
p = locatingCable.lines[1].GetComponent<PortQuery>();
GameManager.Inst.nowDevice = locatingCable.lines[1].gameObject;
RedactPort.Inst.PortList1_game = locatingCable.lines[1].gameObject;
}
GameManager.Inst.nowDeviceID = p.portList.id;
RedactPort.Inst.PortList1 = p.portList;
RedactPort.Inst.OnToggleChanged(RedactPort.Inst.toggle);
RedactPort.Inst.AutoShowInfo(RedactPort.Inst.PortList1);
PatternChoose.Inst.dk_bj_page.SetActive(true);
}); });
delete_button.onClick.AddListener(() => delete_button.onClick.AddListener(() =>
{ {
@ -54,14 +76,17 @@ public class LineItem : MonoBehaviour
if (delete) if (delete)
{ {
//LineGroupItem lineGroup = transform.parent.parent.GetComponent<LineGroupItem>(); //LineGroupItem lineGroup = transform.parent.parent.GetComponent<LineGroupItem>();
//LineQuery.Inst.deleteCableName(lineGroup.info_text.text, info_text.text, (x) => //LineQuery.Inst.deleteCableName(lineGroupItem.info_text.text, info_text.text, (x) =>
LineQuery.Inst.deleteCableName(lineGroupItem.info_text.text, info_text.text, (x) => LineQuery.Inst.deleteCableName(GetComponent<LocatingCable>(), (x) =>
{ {
if (!string.IsNullOrEmpty(x)) if (!string.IsNullOrEmpty(x))
{ {
LineObjectPool.Instance.PushItemToPool(this); LineObjectPool.Instance.PushItemToPool(this);
} }
else
{
Debug.Log("¶Ë¿ÚIDΪ¿Õ");
}
}); });
} }
}); });

View File

@ -2292,6 +2292,9 @@ public class GameManager : MonoBehaviour
if (!string.IsNullOrEmpty(y)) if (!string.IsNullOrEmpty(y))
{ {
Debug.Log("@@4"); Debug.Log("@@4");
LineGroupManager.Instance.Empty_line_content_left();
LineGroupManager.Instance.Empty_line_content_right();
int? a = LineGroupManager.Instance.line_group_content.transform.childCount;
StartCoroutine(LineQuery.Inst.getJsonCoroutine((z) => StartCoroutine(LineQuery.Inst.getJsonCoroutine((z) =>
{ {
if (z != null) if (z != null)
@ -2362,7 +2365,6 @@ public class GameManager : MonoBehaviour
Load_Port(); Load_Port();
//Load_TmsAlarm(); //Load_TmsAlarm();
//Load_ENV(); //Load_ENV();
LineGroupManager.Instance.Empty_line_content_right();
Debug.Log("@@6"); Debug.Log("@@6");
TransparentGlowManage.Inst.addScript(); TransparentGlowManage.Inst.addScript();
Debug.Log("@@7"); Debug.Log("@@7");
@ -2571,7 +2573,7 @@ public class GameManager : MonoBehaviour
/// 端口-编辑URL /// 端口-编辑URL
/// </summary> /// </summary>
[Header("端口-编辑URL")] public string dk_bj; [Header("端口-编辑URL")] public string dk_bj;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 环境-查询URL /// 环境-查询URL
/// </summary> /// </summary>
@ -2588,7 +2590,12 @@ public class GameManager : MonoBehaviour
/// 检修票-查询URL /// 检修票-查询URL
/// </summary> /// </summary>
[Header("检修票-查询URL")] public string jxp_cx; [Header("检修票-查询URL")] public string jxp_cx;
/*----------------------------------------------------------------------------------*/
/// <summary>
/// 线缆-删除URL
/// </summary>
[Header("线缆-删除URL")] public string xl_sc;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 线缆组-查询URL /// 线缆组-查询URL
/// </summary> /// </summary>
@ -2605,32 +2612,32 @@ public class GameManager : MonoBehaviour
/// 线缆组-编辑URL /// 线缆组-编辑URL
/// </summary> /// </summary>
[Header("线缆组-编辑URL")] public string xlz_bj; [Header("线缆组-编辑URL")] public string xlz_bj;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 线路类型-查询URL /// 线路类型-查询URL
/// </summary> /// </summary>
[Header("线路类型-查询URL")] public string xllx_cx; [Header("线路类型-查询URL")] public string xllx_cx;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 菜单权限-查询URL /// 菜单权限-查询URL
/// </summary> /// </summary>
[Header("菜单权限-查询URL")] public string cdqx_cx; [Header("菜单权限-查询URL")] public string cdqx_cx;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 红外监测详情-查询URL /// 红外监测详情-查询URL
/// </summary> /// </summary>
[Header("红外监测详情-查询URL")] public string hwjc_cx; [Header("红外监测详情-查询URL")] public string hwjc_cx;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 机器人保存指令URL /// 机器人保存指令URL
/// </summary> /// </summary>
[Header("机器人保存指令URL")] public string jqr_bczl; [Header("机器人保存指令URL")] public string jqr_bczl;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 机器人保存坐标URL /// 机器人保存坐标URL
/// </summary> /// </summary>
[Header("机器人保存坐标URL")] public string jqr_bczb; [Header("机器人保存坐标URL")] public string jqr_bczb;
/*----------------------------------------------------------------------------------*/
/// <summary> /// <summary>
/// 机器人返回筛选-查询URL /// 机器人返回筛选-查询URL
/// </summary> /// </summary>
@ -2638,7 +2645,7 @@ public class GameManager : MonoBehaviour
public webURL(string ct) public webURL(string ct)
{ {
//ct = ct + "machineRoom/"; ct = ct + "machineRoom/";
//string ct = "http://fpt9gx.natappfree.cc/"; //string ct = "http://fpt9gx.natappfree.cc/";
sb_cx = ct + "device/queryList"; sb_cx = ct + "device/queryList";
sb_xz = ct + "device/save"; sb_xz = ct + "device/save";
@ -2655,6 +2662,8 @@ public class GameManager : MonoBehaviour
gzp_cx = ct + "tmsWorkTicket/queryList"; gzp_cx = ct + "tmsWorkTicket/queryList";
jxp_cx = ct + "tmsOverhaulTicket/queryList"; jxp_cx = ct + "tmsOverhaulTicket/queryList";
xl_sc = ct + "port/clearConPort";
xlz_cx = ct + "deviceLine/queryList"; xlz_cx = ct + "deviceLine/queryList";
xlz_xz = ct + "deviceLine/save"; xlz_xz = ct + "deviceLine/save";
xlz_sc = ct + "deviceLine/delete"; xlz_sc = ct + "deviceLine/delete";

View File

@ -406,7 +406,7 @@ public static class CombineJSON
public static string Decrypt(string cipherText, string key = "1234567890adbcde", string iv = "1234567890hjlkew") public static string Decrypt(string cipherText, string key = "1234567890adbcde", string iv = "1234567890hjlkew")
{ {
return cipherText; //return cipherText;
try try
{ {
byte[] keyBytes = Encoding.UTF8.GetBytes(key); byte[] keyBytes = Encoding.UTF8.GetBytes(key);
@ -444,7 +444,7 @@ public static class CombineJSON
public static string Encrypt(string plainText, string key = "1234567890adbcde", string iv = "1234567890hjlkew") public static string Encrypt(string plainText, string key = "1234567890adbcde", string iv = "1234567890hjlkew")
{ {
return plainText; //return plainText;
using (AesManaged aesAlg = new AesManaged()) using (AesManaged aesAlg = new AesManaged())
{ {
aesAlg.Key = Encoding.UTF8.GetBytes(key); aesAlg.Key = Encoding.UTF8.GetBytes(key);

View File

@ -4,17 +4,8 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using UnityEngine; using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Networking;
using UnityEngine.UI; using UnityEngine.UI;
using static GameManager;
using static PortQuery;
/// <summary> /// <summary>
/// 端口-编辑 /// 端口-编辑
/// </summary> /// </summary>
@ -75,7 +66,7 @@ public class RedactPort : MonoBehaviour
/// </summary> /// </summary>
//public Dropdown status; //public Dropdown status;
/// <summary> /// <summary>
/// 类型 /// 线路类型
/// </summary> /// </summary>
public Dropdown portType; public Dropdown portType;
/// <summary> /// <summary>
@ -361,6 +352,10 @@ public class RedactPort : MonoBehaviour
if (c) if (c)
findIndex(startCabinet, c.name); findIndex(startCabinet, c.name);
add_portType_options();
if (findIndex(portType, p.portType) == null)
findIndex(cableGroupName, "");
/**********************************************/ /**********************************************/
mybody.conDevice = p.conDevice; mybody.conDevice = p.conDevice;
mybody.conDeviceName = p.conDeviceName; mybody.conDeviceName = p.conDeviceName;
@ -410,7 +405,7 @@ public class RedactPort : MonoBehaviour
} }
conPortCode.text = p.portCode;//②(对联)编号 conPortCode.text = p.portCode;//②(对联)编号
conPortName.text = p.portName;//③(对联)名称 conPortName.text = p.portName;//③(对联)名称
conPort.text = p.conPort;//④(对联)端口 conPort.text = p.port;//④(对联)端口
addconCabinet(); addconCabinet();
var c = GameManager.Inst.FindParent(PortList2_game, GameManager.Inst.IsDesiredParent); var c = GameManager.Inst.FindParent(PortList2_game, GameManager.Inst.IsDesiredParent);
@ -420,7 +415,7 @@ public class RedactPort : MonoBehaviour
/**********************************************/ /**********************************************/
mybody.conDevice = p.deviceId; mybody.conDevice = p.deviceId;
mybody.conDeviceName = conDeviceName.text; mybody.conDeviceName = conDeviceName.text;
mybody.conPort = p.conPort; mybody.conPort = p.port;
} }
} }
@ -593,11 +588,35 @@ public class RedactPort : MonoBehaviour
#endregion #endregion
if (!PortList1_game) if (!PortList1_game)
{ {
add_portType_options();
add_cableGroupName_options(); add_cableGroupName_options();
addconCabinet(); addconCabinet();
clearUI();
} }
} }
/// <summary>
/// 清除UI显示
/// </summary>
public void clearUI()
{
cableName.text = string.Empty;
findIndex(cableGroupName, "");
findIndex(portType, "");
findIndex(startCabinet, "");
deviceName.text = string.Empty;
portCode.text = string.Empty;
portName.text = string.Empty;
port.text = string.Empty;
findIndex(conCabinet, "");
conDeviceName.text = string.Empty;
conPortCode.text = string.Empty;
conPortName.text = string.Empty;
conPort.text = string.Empty;
}
/// <summary> /// <summary>
/// 添加线缆组下拉菜单选项 /// 添加线缆组下拉菜单选项
/// </summary> /// </summary>
@ -613,6 +632,21 @@ public class RedactPort : MonoBehaviour
cableGroupName.options.Add(optionData1); cableGroupName.options.Add(optionData1);
} }
/// <summary>
/// 添加线路类型下拉菜单选项
/// </summary>
public void add_portType_options()
{
List<string> portType_list = new List<string>();
foreach (var item in PatternChoose.Inst.xianlan.lineCode_dic.Keys)
{
portType_list.Add(item);
}
portType_list.Add("");
portType.options.Clear();
portType.AddOptions(portType_list);
}
/// <summary> /// <summary>
/// 获取端口的对联设备和对联端口选项 /// 获取端口的对联设备和对联端口选项
/// </summary> /// </summary>

View File

@ -20,6 +20,11 @@ public class ByCode : MonoBehaviour
} }
/// <summary>
/// Ïß·ÀàÐͲéѯ
/// </summary>
/// <param name="callback"></param>
/// <returns></returns>
public IEnumerator getByCode(Action<string> callback) public IEnumerator getByCode(Action<string> callback)
{ {
yield return StartCoroutine( yield return StartCoroutine(

View File

@ -86,6 +86,7 @@ public class LineQuery : MonoBehaviour
else else
{ {
keyValues.Clear(); keyValues.Clear();
dic.Clear();
callback?.Invoke("1"); callback?.Invoke("1");
} }
} }
@ -144,7 +145,7 @@ public class LineQuery : MonoBehaviour
/// <summary> /// <summary>
/// ÐÂÔöÏßÀÂ×é /// ÐÂÔöÏßÀÂ×é
/// </summary> /// </summary>
public IEnumerator SaveJsonCoroutine(string lineContentJson) public IEnumerator SaveJsonCoroutine(string lineContentJson, Action<bool> callback)
{ {
Root_add root = new Root_add(); Root_add root = new Root_add();
yield return StartCoroutine(saveJson(root, lineContentJson, (x) => yield return StartCoroutine(saveJson(root, lineContentJson, (x) =>
@ -155,13 +156,19 @@ public class LineQuery : MonoBehaviour
{ {
LineGroupManager.Instance.AddLineGroup(lineContentJson, root.data); LineGroupManager.Instance.AddLineGroup(lineContentJson, root.data);
var d = new Dic();
d.id = root.data;
d.lineContentJson = lineContentJson;
dic.Add(d);
keyValues.Add(lineContentJson, root.data); keyValues.Add(lineContentJson, root.data);
callback.Invoke(true);
} }
else else
{ {
Debug.Log("新增线缆组失败: " + root.message); Debug.Log("新增线缆组失败: " + root != null ? root.message : "null");
SecondConfirmPanel.DeleteConform(null, "新增线缆组失败"); SecondConfirmPanel.DeleteConform(null, "新增线缆组失败: " + root != null ? root.message : "null");
//LineGroupManager.Instance.AddLineGroup("", false); //LineGroupManager.Instance.AddLineGroup("", false);
callback.Invoke(false);
} }
})); }));
} }
@ -248,6 +255,9 @@ public class LineQuery : MonoBehaviour
/// <summary> /// <summary>
/// ±à¼­ÏßÀÂ×é /// ±à¼­ÏßÀÂ×é
/// </summary> /// </summary>
/// <param name="_id"></param>
/// <param name="_lineContentJson"></param>
/// <param name="callback"></param>
public void editJsonCoroutine(string _id, string _lineContentJson, Action<bool, Root> callback) public void editJsonCoroutine(string _id, string _lineContentJson, Action<bool, Root> callback)
{ {
Root_edit root_Edit = new Root_edit Root_edit root_Edit = new Root_edit
@ -278,7 +288,12 @@ public class LineQuery : MonoBehaviour
})); }));
} }
// 删除线缆 /// <summary>
/// 删除线缆
/// </summary>
/// <param name="cableGroupName"></param>
/// <param name="CableName"></param>
/// <param name="callback"></param>
public void deleteCableName(string cableGroupName, string CableName, Action<string> callback) public void deleteCableName(string cableGroupName, string CableName, Action<string> callback)
{ {
var xianlan = PatternChoose.Inst.xianlan.gameObject.GetComponentsInChildren<LineInfor>(true); var xianlan = PatternChoose.Inst.xianlan.gameObject.GetComponentsInChildren<LineInfor>(true);
@ -339,6 +354,60 @@ public class LineQuery : MonoBehaviour
)); ));
} }
/// <summary>
/// 删除线缆
/// </summary>
/// <param name="locatingCable"></param>
/// <param name="callback"></param>
public void deleteCableName(LocatingCable locatingCable, Action<string> callback)
{
var port_id = locatingCable.lines[0].GetComponent<PortQuery>().portList.id;
if (string.IsNullOrEmpty(port_id))
callback.Invoke(null);
else
{
Root root = new Root();
Root_deleteCableName root_DeleteCableName = new Root_deleteCableName { id = port_id };
var newData = JsonConvert.SerializeObject(root_DeleteCableName);
StartCoroutine(
CombineJSON.UpdateJson_POST(GameManager.Inst.Jk_URL.xl_sc, GameManager.Inst.arguments.token, newData, (jsonResult) =>
{
try
{
root = JsonConvert.DeserializeObject<Root>(jsonResult);
}
catch (Exception e)
{
Debug.Log("删除端口线缆名接口错误:" + e.Message);
callback.Invoke(null);
}
if (root != null && root.message == "操作成功")
{
StartCoroutine(Succeed((x) =>
{
if (x)
callback.Invoke("1");
else
{
SecondConfirmPanel.DeleteConform(null, "更新场景失败");
Debug.Log("接口获取数据失败(线缆删除接口-初始化失败)");
callback.Invoke(null);
}
}));
Array.ForEach(GameManager.Inst.pop_ups.ToArray(), (itme) =>
{
itme.gameObject.SetActive(false);
});
}
else
{
SecondConfirmPanel.DeleteConform(null, root != null ? root.message : "删除线缆失败");
callback.Invoke(null);
}
}));
}
}
public IEnumerator Succeed(Action<bool> callback) public IEnumerator Succeed(Action<bool> callback)
{ {
@ -452,5 +521,10 @@ public class LineQuery : MonoBehaviour
public string id; public string id;
public string lineContentJson; public string lineContentJson;
} }
public class Root_deleteCableName
{
public string id;
}
#endregion #endregion
} }

View File

@ -165,6 +165,10 @@ public class PortQuery : MonoBehaviour
/// ///
/// </summary> /// </summary>
[Tooltip("")] public string createName; [Tooltip("")] public string createName;
/// <summary>
/// 是否为起点端口1-是0-不是
/// </summary>
[Tooltip("是否为起点端口1-是0-不是")] public int? startFlag;
} }
@ -186,11 +190,11 @@ public class PortQuery : MonoBehaviour
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public int pageSize; public int? pageSize;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public int pageNum; public int? pageNum;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>

View File

@ -299,6 +299,7 @@ public class ClickEvent : MonoBehaviour
//p.hight.GetComponent<Renderer>().materials[0] = Resources.Load<Material>("Materials/1Tou"); //p.hight.GetComponent<Renderer>().materials[0] = Resources.Load<Material>("Materials/1Tou");
//PatternChoose.Inst.transform.Find("¶Ë¿ÚÀà/¶Ë¿ÚÐÂÔö").gameObject.SetActive(true);//¡Ì //PatternChoose.Inst.transform.Find("¶Ë¿ÚÀà/¶Ë¿ÚÐÂÔö").gameObject.SetActive(true);//¡Ì
PatternChoose.Inst.dk_bj_page.gameObject.SetActive(false);
PatternChoose.Inst.dk_xz_page.gameObject.SetActive(true);//¡Ì PatternChoose.Inst.dk_xz_page.gameObject.SetActive(true);//¡Ì
} }
else else
@ -355,6 +356,7 @@ public class ClickEvent : MonoBehaviour
newMaterials[0] = Resources.Load<Material>("Materials/3Tou"); newMaterials[0] = Resources.Load<Material>("Materials/3Tou");
renderer.materials = newMaterials; renderer.materials = newMaterials;
//p.hight.GetComponent<Renderer>().materials[0] = Resources.Load<Material>("Materials/1Tou"); //p.hight.GetComponent<Renderer>().materials[0] = Resources.Load<Material>("Materials/1Tou");
PatternChoose.Inst.dk_xz_page.gameObject.SetActive(false);
PatternChoose.Inst.dk_bj_page.gameObject.SetActive(true);//¡Ì PatternChoose.Inst.dk_bj_page.gameObject.SetActive(true);//¡Ì
} }

View File

@ -184,7 +184,15 @@ public class CreateLine : CabinetUIBase
//setColorline(p, prefab_xianlan.gameObject); //setColorline(p, prefab_xianlan.gameObject);
try try
{ {
HexToColor(PatternChoose.Inst.xianlan.lineCode_dic[p.portType], (x) => string hex=string.Empty;
if (p.startFlag == 1)
hex = PatternChoose.Inst.xianlan.lineCode_dic[p.portType];
else
{
var _p= B.GetComponent<PortQuery>().portList;
hex = PatternChoose.Inst.xianlan.lineCode_dic[_p.portType];
}
HexToColor(hex, (x) =>
{ {
init(xian, x); init(xian, x);
newColor = x; newColor = x;
@ -278,7 +286,15 @@ public class CreateLine : CabinetUIBase
//setColorline(p, prefab_xianlan.gameObject); //setColorline(p, prefab_xianlan.gameObject);
try try
{ {
HexToColor(PatternChoose.Inst.xianlan.lineCode_dic[p.portType], (x) => string hex = string.Empty;
if (p.startFlag == 1)
hex = PatternChoose.Inst.xianlan.lineCode_dic[p.portType];
else
{
var _p = B.GetComponent<PortQuery>().portList;
hex = PatternChoose.Inst.xianlan.lineCode_dic[_p.portType];
}
HexToColor(hex, (x) =>
{ {
init(xian, x); init(xian, x);
newColor = x; newColor = x;
@ -522,7 +538,15 @@ public class CreateLine : CabinetUIBase
Color newColor = lineColor; Color newColor = lineColor;
try try
{ {
HexToColor(PatternChoose.Inst.xianlan.lineCode_dic[p.portType], (x) => string hex = string.Empty;
if (p.startFlag == 1)
hex = PatternChoose.Inst.xianlan.lineCode_dic[p.portType];
else
{
var _p = B.GetComponent<PortQuery>().portList;
hex = PatternChoose.Inst.xianlan.lineCode_dic[_p.portType];
}
HexToColor(hex, (x) =>
{ {
init(xian, x); init(xian, x);
newColor = x; newColor = x;
@ -618,7 +642,15 @@ public class CreateLine : CabinetUIBase
Color newColor = lineColor; Color newColor = lineColor;
try try
{ {
HexToColor(PatternChoose.Inst.xianlan.lineCode_dic[p.portType], (x) => string hex = string.Empty;
if (p.startFlag == 1)
hex = PatternChoose.Inst.xianlan.lineCode_dic[p.portType];
else
{
var _p = B.GetComponent<PortQuery>().portList;
hex = PatternChoose.Inst.xianlan.lineCode_dic[_p.portType];
}
HexToColor(hex, (x) =>
{ {
init(xian, x); init(xian, x);
newColor = x; newColor = x;
@ -706,7 +738,15 @@ public class CreateLine : CabinetUIBase
Color newColor = lineColor; Color newColor = lineColor;
try try
{ {
HexToColor(PatternChoose.Inst.xianlan.lineCode_dic[p.portType], (x) => string hex = string.Empty;
if (p.startFlag == 1)
hex = PatternChoose.Inst.xianlan.lineCode_dic[p.portType];
else
{
var _p = B.GetComponent<PortQuery>().portList;
hex = PatternChoose.Inst.xianlan.lineCode_dic[_p.portType];
}
HexToColor(hex, (x) =>
{ {
init(xian, x); init(xian, x);
newColor = x; newColor = x;

View File

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
/// <summary> /// <summary>
/// 端口线条信息 /// 端口线条信息(端子信息)
/// </summary> /// </summary>
[Serializable] [Serializable]
public class LineInfor : MonoBehaviour public class LineInfor : MonoBehaviour

View File

@ -2,6 +2,9 @@ using UnityEngine;
using UnityEngine.EventSystems; using UnityEngine.EventSystems;
using UnityEngine.UI; using UnityEngine.UI;
/// <summary>
/// 线缆列表信息
/// </summary>
public class LineRendererInteraction : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler public class LineRendererInteraction : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{ {
public LineRenderer lineRenderer; public LineRenderer lineRenderer;