This commit is contained in:
2025-04-03 10:56:29 +09:00
parent 8d255ef06c
commit 174368a6d2
15 changed files with 141 additions and 744 deletions

View File

@@ -939,7 +939,6 @@ GameObject:
m_Component:
- component: {fileID: 272558446133743867}
- component: {fileID: 3757060209888943725}
- component: {fileID: 7997719753715833387}
- component: {fileID: 5273856584991472609}
m_Layer: 5
m_Name: Panel_InterworkingDataList
@@ -947,7 +946,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &272558446133743867
RectTransform:
m_ObjectHideFlags: 0
@@ -987,20 +986,6 @@ MonoBehaviour:
scrollRect: {fileID: 0}
scrollView: {fileID: 0}
Button_Close: {fileID: 0}
--- !u!114 &7997719753715833387
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3225544561127309147}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: beaea798e37c61142a62ba5cecd426f2, type: 3}
m_Name:
m_EditorClassIdentifier:
prf_LinkDataUI: {fileID: 3588877776299194241, guid: 9f62a52c6a3d48947b57fdd4f941a260, type: 3}
body: {fileID: 940260026812176822}
--- !u!114 &5273856584991472609
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1424,7 +1409,7 @@ RectTransform:
m_Father: {fileID: 1131025699729329251}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 2, y: 0}
m_SizeDelta: {x: 8, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
@@ -1705,9 +1690,9 @@ RectTransform:
m_Father: {fileID: 528971216280600444}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!222 &3628341150788769786
CanvasRenderer:
@@ -2197,6 +2182,9 @@ MonoBehaviour:
m_Calls: []
itemPopup: {fileID: 0}
menuPopup: {fileID: 0}
onExit:
m_PersistentCalls:
m_Calls: []
--- !u!114 &2892856486240836700
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -2216,6 +2204,9 @@ MonoBehaviour:
onParentChanged:
m_PersistentCalls:
m_Calls: []
onHover:
m_PersistentCalls:
m_Calls: []
isSiblingEditable: 0
--- !u!1 &7962667019419902432
GameObject:
@@ -2326,7 +2317,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: -0.00034048597, y: 0.00027677164}
m_AnchoredPosition: {x: -0.00034048597, y: 0.00017427593}
m_SizeDelta: {x: 282.99957, y: 2}
m_Pivot: {x: 0, y: 1}
--- !u!114 &685881772641947593

View File

@@ -369,6 +369,11 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 157621255}
m_CullTransparentMesh: 0
--- !u!1 &166900728 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7363357197736599361, guid: e31a50ed45dd7404a9ff21df4f503810, type: 3}
m_PrefabInstance: {fileID: 741022415}
m_PrefabAsset: {fileID: 0}
--- !u!1 &205918190
GameObject:
m_ObjectHideFlags: 0
@@ -933,38 +938,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 940260026812176822, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0.00017427593
objectReference: {fileID: 0}
- target: {fileID: 3225544561127309147, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_Name
value: Panel_InterworkingDataList
objectReference: {fileID: 0}
- target: {fileID: 3225544561127309147, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4926694108229151116, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4926694108229151116, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7037160010838976915, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7037160010838976915, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7037160010838976915, guid: 82511e73cbe6181438fd98254170e476, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -2885,13 +2862,43 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 7363357197736599361, guid: e31a50ed45dd7404a9ff21df4f503810, type: 3}
insertIndex: -1
addedObject: {fileID: 741022419}
- targetCorrespondingSourceObject: {fileID: 7363357197736599361, guid: e31a50ed45dd7404a9ff21df4f503810, type: 3}
insertIndex: -1
addedObject: {fileID: 741022420}
m_SourcePrefab: {fileID: 100100000, guid: e31a50ed45dd7404a9ff21df4f503810, type: 3}
--- !u!4 &741022416 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 101037460302490810, guid: e31a50ed45dd7404a9ff21df4f503810, type: 3}
m_PrefabInstance: {fileID: 741022415}
m_PrefabAsset: {fileID: 0}
--- !u!114 &741022419
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 166900728}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 72167a26441d2c644b7030ce4aa118cf, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &741022420
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 166900728}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83d4023cf6806f645bc26b4f5839f931, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &759321982
GameObject:
m_ObjectHideFlags: 0
@@ -8229,6 +8236,10 @@ PrefabInstance:
propertyPath: m_Name
value: Panel_AssetEdit
objectReference: {fileID: 0}
- target: {fileID: 7320545626431284971, guid: fd428f69696481b45a252d4ae922627b, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8505836957447598286, guid: fd428f69696481b45a252d4ae922627b, type: 3}
propertyPath: m_Pivot.x
value: 0.5
@@ -12350,23 +12361,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 349415598094472119, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 349415598094472119, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 349415598094472119, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 349415598094472119, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 349415598094472119, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -121
objectReference: {fileID: 0}
- target: {fileID: 494264644172990295, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
@@ -12386,23 +12397,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1426017155599776145, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1426017155599776145, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1426017155599776145, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 1426017155599776145, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 1426017155599776145, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -309
objectReference: {fileID: 0}
- target: {fileID: 1568513447129454289, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
@@ -12470,23 +12481,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2422787935774323229, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2422787935774323229, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2422787935774323229, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 2422787935774323229, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 2422787935774323229, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -27
objectReference: {fileID: 0}
- target: {fileID: 2573358733300104709, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
@@ -12558,23 +12569,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4147382167238274784, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4147382167238274784, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4147382167238274784, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 4147382167238274784, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 4147382167238274784, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -74
objectReference: {fileID: 0}
- target: {fileID: 4147750155540767454, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
@@ -12598,23 +12609,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4582026471169970315, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4582026471169970315, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4582026471169970315, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 4582026471169970315, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 4582026471169970315, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -262
objectReference: {fileID: 0}
- target: {fileID: 4582151064078720181, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
@@ -12726,43 +12737,43 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5481852742840888498, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5481852742840888498, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5481852742840888498, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 5481852742840888498, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 5481852742840888498, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -215
objectReference: {fileID: 0}
- target: {fileID: 5512206668012317612, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5512206668012317612, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5512206668012317612, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 5512206668012317612, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 5512206668012317612, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -121
objectReference: {fileID: 0}
- target: {fileID: 5540225464422352963, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
@@ -12774,23 +12785,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5821008458756972882, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5821008458756972882, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5821008458756972882, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 5821008458756972882, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 5821008458756972882, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -168
objectReference: {fileID: 0}
- target: {fileID: 5872060385755613930, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
@@ -12838,23 +12849,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6313013409696068613, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6313013409696068613, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6313013409696068613, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 6313013409696068613, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 6313013409696068613, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -74
objectReference: {fileID: 0}
- target: {fileID: 6398619867125381537, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
@@ -12870,23 +12881,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6833388731803765748, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6833388731803765748, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6833388731803765748, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 6833388731803765748, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 6833388731803765748, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -168
objectReference: {fileID: 0}
- target: {fileID: 6851815559567896889, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.y
@@ -12930,23 +12941,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 7750099248872515057, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7750099248872515057, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7750099248872515057, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 7750099248872515057, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 7750099248872515057, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -74
objectReference: {fileID: 0}
- target: {fileID: 7812692383561393628, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
@@ -12994,23 +13005,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8688116085078439031, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8688116085078439031, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8688116085078439031, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 8688116085078439031, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 8688116085078439031, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -27
objectReference: {fileID: 0}
- target: {fileID: 8831777936729481367, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
@@ -13026,23 +13037,23 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 8996151517581488573, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMax.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8996151517581488573, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchorMin.y
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8996151517581488573, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_SizeDelta.x
value: 0
value: 295
objectReference: {fileID: 0}
- target: {fileID: 8996151517581488573, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
value: 153.5
objectReference: {fileID: 0}
- target: {fileID: 8996151517581488573, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
value: -27
objectReference: {fileID: 0}
- target: {fileID: 9118390163350013474, guid: 6b6204170622c2248aa45b7084250442, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size

View File

@@ -1,47 +0,0 @@
using System.Collections.Generic;
using System;
using UnityEngine;
namespace XED.VirtualFactory
{
[Serializable]
public class AMR_Class
{
public string type;
public string AmrId;
public int workstate;
public float moveSpeed;
public Pose Pose;
public int lift_;
public int loaded;
public string Cmd;
}
[Serializable]
public class Pose
{
public float x;
public float y;
public float theta;
}
[Serializable]
public class AMR_Class_AMR
{
public AMR_Class_Payload payload;
}
[Serializable]
public class AMR_Class_Payload
{
public List<AMR_Class_plcdata> plcdatas;
}
[Serializable]
public class AMR_Class_plcdata
{
public List<AMR_Class> data;
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 9f9de9b345b1d9e4ebf54f44d6ef63af

View File

@@ -1,249 +0,0 @@
using System;
using UnityEngine;
namespace XED.VirtualFactory
{
[Serializable]
public class ASRS_Lifter_Class
{
//asrs input lift
public int ASRS_04_01_P2A_D_SKID_ON = 0;
public int ASRS_04_01_P2A_UP_DOWN = 0;
public int ASRS_04_01_P2A_LIFT_STATE = 0;
public string ASRS_04_01_P2A_SKID_ID = "";
public int ASRS_04_01_A2P_AMR_IN_COMPLETE = 0;
public int ASRS_04_01_A2P_AMR_OUT_COMPLETE = 0;
//asrs output Lift
public int ASRS_14_01_P2A_D_SKID_ON = 0;
public int ASRS_14_01_P2A_UP_DOWN = 0;
public int ASRS_14_01_P2A_LIFT_STATE = 0;
public string ASRS_14_01_P2A_SKID_ID = "";
public int ASRS_14_01_A2P_AMR_IN_COMPLETE = 0;
public int ASRS_14_01_A2P_AMR_OUT_COMPLETE = 0;
}
[Serializable]
public class ASRS_Lifter_Breaked_Class
{
public int SKID_ON = 0;
public int UP_DOWN = 0;
public int LIFT_STATE = 0;
public string SKID_ID = "";
public int AMR_IN_COMPLETE = 0;
public int AMR_OUT_COMPLETE = 0;
}
[Serializable]
public class ASRS_StackerCrane_Class
{
//asrs stacker position
public int STK_03_20_Stacker_Position_X;
public int STK_03_20_Stacker_Position_Y;
public int STK_03_20_Stacker_Position_Z;
public string STK_03_20_Stacker_SKID_ID = "";
public int STK_03_20_Stacker_Part_On;
public int STK_03_20_Stacker_Warehousing_Location;
public int STK_03_20_Stacker_Step_No;
}
[Serializable]
public class ASRS_Class
{
//conv 01 01 trigger events
public int CONV_01_01_P2A_D_SKID_ON;
public int CONV_01_01_P2A_RUN_STATUS;
//conv 01 01 value
//speed mm/Min
public int CONV_01_01_P2A_SPEED;
//something wrong in conv 01 01
public int CONV_01_01_P2A_EMG_STOP;
public int CONV_01_01_P2A_Total_Error;
//conv 01 02 divot conv trigger events
//CONV_01_02_P2A
public int CONV_01_02_P2A_UP_DOWN;
public int CONV_01_02_P2A_LIFT_STATE;
public int CONV_01_02_P2A_RUN_STATUS;
public int CONV_01_02_P2A_D_SKID_ON;
//conv 01 02 value events
public int CONV_01_02_P2A_SPEED_CHAIN;
//something wrong in conv 01 02
public int CONV_01_02_P2A_EMG_STOP;
public int CONV_01_02_P2A_Total_Error;
//conv 01 03 trigger events
public int CONV_01_03_P2A_RUN_STATUS_IN;
public int CONV_01_03_P2A_RUN_STATUS_OUT;
public int CONV_01_03_P2A_G_SKID_ON;
public int CONV_01_03_P2A_D_SKID_ON;
//conv 01 03 value Events;
public int CONV_01_03_P2A_SPEED;
//soemthing wrong in covn 01 03
public int CONV_01_03_P2A_EMG_STOP;
public int CONV_01_03_P2A_Total_Error;
//conv 01 04 trigger events
public int CONV_01_04_P2A_RUN_STATUS_IN;
public int CONV_01_04_P2A_RUN_STATUS_OUT;
public int CONV_01_04_P2A_G_SKID_ON;
public int CONV_01_04_P2A_D_SKID_ON;
//conv 01 04 value Events;
public int CONV_01_04_P2A_SPEED;
//soemthing wrong in covn 01 04
public int CONV_01_04_P2A_EMG_STOP;
public int CONV_01_04_P2A_Total_Error;
//conv 02 01 trigger event
public int CONV_02_01_P2A_RUN_STATUS_IN;
public int CONV_02_01_P2A_RUN_STATUS_OUT;
//conv 02 01 value event
public int CONV_02_01_P2A_SPEED_CHAIN;
public string CONV_02_01_P2A_Bill_No;
public int CONV_02_01_P2A_SPEPARATION_NO;
public int CONV_02_01_P2A_D_SKID_ON;
public int CONV_02_01_P2A_G_SKID_ON;
//something wrong in covn 02 01
public int CONV_02_01_P2A_Total_Error;
public int CONV_02_01_P2A_EMG_STOP;
//conv 02 02 divot conv trigger events
//CONV_02_02_P2A
public int CONV_02_02_P2A_UP_DOWN;
public int CONV_02_02_P2A_LIFT_STATE;
public int CONV_02_02_P2A_RUN_STATUS_IN;
public int CONV_02_02_P2A_RUN_STATUS_OUT;
//conv 01 02 value events
public int CONV_02_02_P2A_SPEED_CHAIN;
public string CONV_02_02_P2A_Bill_No;
public int CONV_02_02_P2A_SPEPARATION_NO;
public int CONV_02_02_P2A_D_SKID_ON;
public int CONV_02_02_P2A_G_SKID_ON;
//something wrong in conv 01 02
public int CONV_02_02_P2A_EMG_STOP;
public int CONV_02_02_P2A_Total_Error;
public int CONV_02_03_P2A_D_SKID_ON;
public int CONV_02_03_P2A_G_SKID_ON;
//conv 02 03 out conv trigger events
public int CONV_02_03_P2A_RUN_STATUS_IN;
public int CONV_02_03_P2A_RUN_STATUS_OUT;
//conv 02 03 value events
public int CONV_02_03_P2A_SPEED;
public string CONV_02_03_P2A_Bill_No;
public int CONV_02_03_P2A_SPEPARATION_NO;
//something wrong in conv 02 03
public int CONV_02_03_P2A_EMG_STOP;
public int CONV_02_03_P2A_Total_Error;
//asrs stacker position
public int Stacker_Position_X;
public int Stacker_Position_Y;
public int Stacker_Position_Z;
public int Stacker_Part_On;
#nullable enable
//asrs rack status
public int STK_03_01_P2A_CARGO_ARRIVED;
public string? STK_03_01_P2A_Bill_No;
public string? STK_03_01_P2A_SEPARATION_NO;
public int STK_03_02_P2A_CARGO_ARRIVED;
public string? STK_03_02_P2A_Bill_No;
public string? STK_03_02_P2A_SEPARATION_NO;
public int STK_03_03_P2A_CARGO_ARRIVED;
public string? STK_03_03_P2A_Bill_No;
public string? STK_03_03_P2A_SEPARATION_NO;
public int STK_03_04_P2A_CARGO_ARRIVED;
public string? STK_03_04_P2A_Bill_No;
public string? STK_03_04_P2A_SEPARATION_NO;
public int STK_03_05_P2A_CARGO_ARRIVED;
public string? STK_03_05_P2A_Bill_No;
public string? STK_03_05_P2A_SEPARATION_NO;
public int STK_03_06_P2A_CARGO_ARRIVED;
public string? STK_03_06_P2A_Bill_No;
public string? STK_03_06_P2A_SEPARATION_NO;
public int STK_03_07_P2A_CARGO_ARRIVED;
public string? STK_03_07_P2A_Bill_No;
public string? STK_03_07_P2A_SEPARATION_NO;
public int STK_03_08_P2A_CARGO_ARRIVED;
public string? STK_03_08_P2A_Bill_No;
public string? STK_03_08_P2A_SEPARATION_NO;
public int STK_03_09_P2A_CARGO_ARRIVED;
public string? STK_03_09_P2A_Bill_No;
public string? STK_03_09_P2A_SEPARATION_NO;
public int STK_03_10_P2A_CARGO_ARRIVED;
public string? STK_03_10_P2A_Bill_No;
public string? STK_03_10_P2A_SEPARATION_NO;
public int STK_03_11_P2A_CARGO_ARRIVED;
public string? STK_03_11_P2A_Bill_No;
public string? STK_03_11_P2A_SEPARATION_NO;
public int STK_03_12_P2A_CARGO_ARRIVED;
public string? STK_03_12_P2A_Bill_No;
public string? STK_03_12_P2A_SEPARATION_NO;
#nullable disable
public string ASRS_01_01_P2A_Bill_No;
public string ASRS_01_01_P2A_SEPARATION_NO;
public string ASRS_02_01_P2A_Bill_No;
public string ASRS_02_01_P2A_SEPARATION_NO;
public string SUPPLY_01_01_P2A_Bill_No;
public string SUPPLY_01_01_P2A_SEPARATION_NO;
public int SUPPLY_01_01_P2A_G_SKID_ON;
public int SUPPLY_01_01_P2A_D_SKID_ON;
public string SUPPLY_01_02_P2A_Bill_No;
public string SUPPLY_01_02_P2A_SEPARATION_NO;
public int SUPPLY_01_02_P2A_G_SKID_ON;
public int SUPPLY_01_02_P2A_D_SKID_ON;
public string SUPPLY_01_03_P2A_Bill_No;
public string SUPPLY_01_03_P2A_SEPARATION_NO;
public int SUPPLY_01_03_P2A_G_SKID_ON;
public int SUPPLY_01_03_P2A_D_SKID_ON;
public string SUPPLY_01_04_P2A_Bill_No;
public string SUPPLY_01_04_P2A_SEPARATION_NO;
public int SUPPLY_01_04_P2A_G_SKID_ON;
public int SUPPLY_01_04_P2A_D_SKID_ON;
public string DataTime;
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 81cbb5803ff36ea439d8e597148ef460

View File

@@ -1,40 +0,0 @@
using System.Collections.Generic;
using System;
using UnityEngine;
namespace XED.VirtualFactory
{
[Serializable]
public class COBOT_Class
{
public string id;
public string time;
public string subject;
public Payload payload;
public class Payload
{
public List<PlcData> plcDatas;
public int error;
public int result;
public string producer;
public string plc;
}
public class PlcData
{
public string plcsc;
public List<Data> data;
public int error;
public int result;
public string producer;
public string plc;
}
public class Data
{
public string tag;
public string val;
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: e3a2ab02a3c137046ad65f4028294197

View File

@@ -3,10 +3,11 @@ using System.Collections.Generic;
using UnityEngine;
using Newtonsoft.Json;
using System.Reflection;
using XRLib;
namespace XED.VirtualFactory
{
public class DataDistributer : MonoBehaviour
public class DataDistributer : MonoBehaviour,ISingle
{
public event Action<string> onAMRDestinationDataReceived;
public event Action<string,ASRS_Lifter_Class> onLifterDataReceived;
@@ -18,7 +19,7 @@ namespace XED.VirtualFactory
void Start()
{
FindObjectOfType<DataReader>().onMessageReceived += DataDistribute;
FindAnyObjectByType<DataReader>().onMessageReceived += DataDistribute;
}
public void DataDistribute(string topic, string data)

View File

@@ -1,29 +0,0 @@
using System;
using UnityEngine;
namespace XED
{
[Serializable]
public class Supplier_Class
{
public int SUPPLY_06_01_A2P_AMR_IN_COMPLETE;
public int SUPPLY_06_01_P2A_D_SKID_ON;
public string SUPPLY_06_01_P2A_SKID_ID;
public int SUPPLY_06_02_A2P_AMR_IN_COMPLETE;
public int SUPPLY_06_02_P2A_D_SKID_ON;
public string SUPPLY_06_02_P2A_SKID_ID;
public int SUPPLY_06_03_A2P_AMR_IN_COMPLETE;
public int SUPPLY_06_03_P2A_D_SKID_ON;
public string SUPPLY_06_03_P2A_SKID_ID;
}
[Serializable]
public class Supplier_Breaked_Class
{
public int AMR_IN_COMPLETE;
public int SKID_ON;
public string SKID_ID;
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: b80dffaa75a699c408270dba8c900d05

View File

@@ -17,6 +17,7 @@ namespace XED.Manage
public override void AfterAwake()
{
var rayCaster = FindSingle<Raycaster>();
var dataDistributer = FindSingle<DataDistributer>();
var statusPanel = FindSingle<ModePanel>();
var canvas_static = FindSingle<Canvas_Static>();
@@ -32,6 +33,10 @@ namespace XED.Manage
var customAssetConnector = FindSingle<CustomAssetConnector>();
var renderObjectHandler = FindFirstObjectByType<RenderObjectHandler>();
var projectManager = FindSingle<ProjectManager>();
var dataProcessingManager = FindSingle<DataProcessingManager>();
var assetEditHandler = FindSingle<AssetEditHandler>();
GameObject assetWindow = canvas_Popup.panel_assetlibrary.gameObject;
FBXFileManager saveLoadFBXData = customAssetConnector.saveLoadFBXData;
@@ -49,8 +54,11 @@ namespace XED.Manage
customAssetConnector.onSelectObjects += ((name, objects) => { canvas_Popup.panel_objectinfo.gameObject.SetActive(true); });
customAssetConnector.onSelectObjects += canvas_Popup.panel_objectinfo.SetObjectInfo;
customAssetConnector.onSelectObjects += canvas_Popup.panel_objectdistance.SelectObjectFromClick;
customAssetConnector.onSelectObjects += ((topic, objects) => { assetEditHandler.GameObjectSelected(objects[0]); });
customAssetConnector.onRemoveObjects += canvas_Popup.panel_objectinfo.ResetObjectInfo;
customAssetConnector.onDeselectObjects += (() => { canvas_Popup.panel_objectinfo.gameObject.SetActive(false); });
customAssetConnector.onDeselectObjects += assetEditHandler.GameObjectDeSelected;
renderObjectHandler.onDeselectAll += canvas_Popup.panel_objectinfo.ResetObjectInfo;
renderObjectHandler.onTransformChanged += canvas_Popup.panel_objectinfo.OnTransformChanged;
@@ -71,6 +79,13 @@ namespace XED.Manage
agvNodeManager.onNodeDeselected += canvas_Popup.agvnodepopup.Popdown;
agvNodeManager.onNodeSequenceUpdated += canvas_Popup.agvnodemodepopup.UpdateTextSelectedAGVNode;
dataDistributer.onAMRDataReceived += dataProcessingManager.DataProcessing;
dataDistributer.onASRSDataReceived += dataProcessingManager.DataProcessing;
dataDistributer.onCobotDataReceived += dataProcessingManager.DataProcessing;
dataDistributer.onLifterDataReceived += dataProcessingManager.DataProcessing;
dataDistributer.onStackerDataReceived += dataProcessingManager.DataProcessing;
dataDistributer.onSupplierDataReceived += dataProcessingManager.DataProcessing;
projectManager.onLoadAsset += customAssetConnector.OnLoadAsset;
projectManager.onRestoreHierarchy += customAssetConnector.OnRestoreHierarchy;
}
@@ -119,6 +134,9 @@ namespace XED.Manage
canvas_Popup.panel_thumbnail.onOpen += saveLoadFBXData.GetCustomAssetData;
canvas_Popup.panel_thumbnail.onGetPosition += canvas_Popup.panel_assetlibrary.GetPositionX;
canvas_Popup.panel_assetedit.ConnectedAssetMarker.onClick.AddListener(() => canvas_Popup.panel_interworkingdatalist.SetActive(true));
customAssetConnector.onDeselectObjects += ()=>canvas_Popup.panel_assetedit.SetActive(false);
canvas_DragArea.panel_draghandler.onDragBoxSelect += customAssetConnector.assetEventHandler.OnDragBoxSelect;
}

View File

@@ -1,251 +0,0 @@
using UnityEngine;
using XED.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace XED.VirtualFactory
{
public class LinkDataUIManager : MonoBehaviour
{
[SerializeField]
UI_LinkData prf_LinkDataUI;
public Transform body;
Dictionary<string, UI_LinkData> linkDataDict = new Dictionary<string, UI_LinkData>();
Dictionary<string, AMR_Class> amrDict = new Dictionary<string, AMR_Class>();
Dictionary<string, ASRS_Lifter_Breaked_Class> lifterDict = new Dictionary<string, ASRS_Lifter_Breaked_Class>();
Dictionary<string, ASRS_StackerCrane_Class> stackerDict = new Dictionary<string, ASRS_StackerCrane_Class>();
Dictionary<string, ASRS_Class> asrsDict = new Dictionary<string, ASRS_Class>();
Dictionary<string, Supplier_Breaked_Class> supplierDict = new Dictionary<string, Supplier_Breaked_Class>();
Dictionary<string, COBOT_Class> cobotDict = new Dictionary<string, COBOT_Class>();
public event Action<List<(string, string)>,string> onUISelected;
public override void AfterAwake()
{
var datadistributer = FindAnyObjectByType<DataDistributer>(FindObjectsInactive.Include);
datadistributer.onAMRDataReceived += LinkDataUI_AMR;
datadistributer.onLifterDataReceived += LinkDataUI_Lifter;
datadistributer.onStackerDataReceived += LinkDataUI_StackerCrane;
datadistributer.onASRSDataReceived += LinkDataUI_Asrs;
datadistributer.onSupplierDataReceived += LinkDataUI_Supplier;
datadistributer.onCobotDataReceived += LinkDataUI_Cobot;
prf_LinkDataUI = Resources.Load<UI_LinkData>($"Prefabs/UI/{nameof(prf_LinkDataUI)}");
}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void LinkDataUI_AMR(string topic, AMR_Class data)
{
if (!linkDataDict.ContainsKey(topic))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(topic);
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(topic, ui);
amrDict.Add(topic, data);
}
else
{
amrDict[topic] = data;
}
}
void LinkDataUI_Lifter(string topic, ASRS_Lifter_Class data)
{
ASRS_Lifter_Breaked_Class asrs_04_01 = new ASRS_Lifter_Breaked_Class();
asrs_04_01.SKID_ON = data.ASRS_04_01_P2A_D_SKID_ON;
asrs_04_01.UP_DOWN = data.ASRS_04_01_P2A_UP_DOWN;
asrs_04_01.LIFT_STATE = data.ASRS_04_01_P2A_LIFT_STATE;
asrs_04_01.SKID_ID = data.ASRS_04_01_P2A_SKID_ID;
asrs_04_01.AMR_IN_COMPLETE = data.ASRS_04_01_A2P_AMR_IN_COMPLETE;
asrs_04_01.AMR_OUT_COMPLETE = data.ASRS_04_01_A2P_AMR_OUT_COMPLETE;
ASRS_Lifter_Breaked_Class asrs_14_01 = new ASRS_Lifter_Breaked_Class();
asrs_14_01.SKID_ON = data.ASRS_14_01_P2A_D_SKID_ON;
asrs_14_01.UP_DOWN = data.ASRS_14_01_P2A_UP_DOWN;
asrs_14_01.LIFT_STATE = data.ASRS_14_01_P2A_LIFT_STATE;
asrs_14_01.SKID_ID = data.ASRS_14_01_P2A_SKID_ID;
asrs_14_01.AMR_IN_COMPLETE = data.ASRS_14_01_A2P_AMR_IN_COMPLETE;
asrs_14_01.AMR_OUT_COMPLETE = data.ASRS_14_01_A2P_AMR_OUT_COMPLETE;
if (!linkDataDict.ContainsKey(nameof(asrs_04_01)))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(nameof(asrs_04_01));
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(nameof(asrs_04_01), ui);
lifterDict.Add(nameof(asrs_04_01), asrs_04_01);
}
else
{
lifterDict[nameof(asrs_04_01)]= asrs_04_01;
}
if (!linkDataDict.ContainsKey(nameof(asrs_14_01)))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(nameof(asrs_14_01));
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(nameof(asrs_14_01), ui);
lifterDict.Add(nameof(asrs_14_01), asrs_14_01);
}
else
{
lifterDict[nameof(asrs_14_01)] = asrs_14_01;
}
}
void LinkDataUI_StackerCrane(string topic, ASRS_StackerCrane_Class data)
{
if (!linkDataDict.ContainsKey(topic))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(topic);
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(topic, ui);
stackerDict.Add(topic, data);
}
else
{
stackerDict[topic] = data;
}
}
void LinkDataUI_Asrs(string topic, ASRS_Class data)
{
if (!linkDataDict.ContainsKey(topic))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(topic);
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(topic, ui);
asrsDict.Add(topic, data);
}
else
{
asrsDict[topic] = data;
}
}
void LinkDataUI_Supplier(string topic, Supplier_Class data)
{
Supplier_Breaked_Class Supplier_06_01 = new Supplier_Breaked_Class();
Supplier_06_01.AMR_IN_COMPLETE = data.SUPPLY_06_01_A2P_AMR_IN_COMPLETE;
Supplier_06_01.SKID_ON = data.SUPPLY_06_01_P2A_D_SKID_ON;
Supplier_06_01.SKID_ID = data.SUPPLY_06_01_P2A_SKID_ID;
Supplier_Breaked_Class Supplier_06_02 = new Supplier_Breaked_Class();
Supplier_06_02.AMR_IN_COMPLETE = data.SUPPLY_06_02_A2P_AMR_IN_COMPLETE;
Supplier_06_02.SKID_ON = data.SUPPLY_06_02_P2A_D_SKID_ON;
Supplier_06_02.SKID_ID = data.SUPPLY_06_02_P2A_SKID_ID;
Supplier_Breaked_Class Supplier_06_03 = new Supplier_Breaked_Class();
Supplier_06_03.AMR_IN_COMPLETE = data.SUPPLY_06_03_A2P_AMR_IN_COMPLETE;
Supplier_06_03.SKID_ON = data.SUPPLY_06_03_P2A_D_SKID_ON;
Supplier_06_03.SKID_ID = data.SUPPLY_06_03_P2A_SKID_ID;
if (!linkDataDict.ContainsKey(nameof(Supplier_06_01)))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(nameof(Supplier_06_01));
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(nameof(Supplier_06_01), ui);
supplierDict.Add(nameof(Supplier_06_01), Supplier_06_01);
}
else
{
supplierDict[nameof(Supplier_06_01)] = Supplier_06_01;
}
if (!linkDataDict.ContainsKey(nameof(Supplier_06_02)))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(nameof(Supplier_06_02));
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(nameof(Supplier_06_02), ui);
supplierDict.Add(nameof(Supplier_06_02), Supplier_06_02);
}
else
{
supplierDict[nameof(Supplier_06_02)] = Supplier_06_02;
}
if (!linkDataDict.ContainsKey(nameof(Supplier_06_03)))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(nameof(Supplier_06_03));
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(nameof(Supplier_06_03), ui);
supplierDict.Add(nameof(Supplier_06_03), Supplier_06_03);
}
else
{
supplierDict[nameof(Supplier_06_03)] = Supplier_06_03;
}
}
void LinkDataUI_Cobot(string topic, COBOT_Class data)
{
if (!linkDataDict.ContainsKey(topic))
{
var ui = Instantiate(prf_LinkDataUI, body);
ui.SetUI(topic);
ui.onUIClicked += findDictionaryByUI;
linkDataDict.Add(topic, ui);
cobotDict.Add(topic, data);
}
else
{
cobotDict[topic] = data;
}
}
void findDictionaryByUI(UI_LinkData UI)
{
var myKey = linkDataDict.FirstOrDefault(x => x.Value == UI).Key;
if (amrDict.ContainsKey(myKey))
{
onUISelected?.Invoke(PrintAllVariables(amrDict[myKey]),myKey);
}
else if (lifterDict.ContainsKey(myKey))
{
onUISelected?.Invoke(PrintAllVariables(lifterDict[myKey]), myKey);
}
else if (stackerDict.ContainsKey(myKey))
{
onUISelected?.Invoke(PrintAllVariables(stackerDict[myKey]), myKey);
}
else if (asrsDict.ContainsKey(myKey))
{
onUISelected?.Invoke(PrintAllVariables(asrsDict[myKey]), myKey);
}
else if (supplierDict.ContainsKey(myKey))
{
onUISelected?.Invoke(PrintAllVariables(supplierDict[myKey]), myKey);
}
else if (cobotDict.ContainsKey(myKey))
{
onUISelected?.Invoke(PrintAllVariables(cobotDict[myKey]), myKey);
}
}
public List<(string,string)> PrintAllVariables(object target)
{
List<(string, string)> variableList = new List<(string, string)>();
Type type = target.GetType();
FieldInfo[] fields = type.GetFields(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static);
foreach (FieldInfo field in fields)
{
var value = field.GetValue(target).ToString();
var tuple = (field.Name, value);
variableList.Add(tuple);
}
return variableList;
}
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: beaea798e37c61142a62ba5cecd426f2

View File

@@ -32,9 +32,12 @@ namespace XED.UI
defaulty = Background.sizeDelta.y;
datalist = FindAnyObjectByType<Panel_InterworkingDataList>(FindObjectsInactive.Include);
ConnectedAssetMarker.onClick.AddListener(() => datalist.SetActive(true));
FindAnyObjectByType<LinkDataUIManager>(FindObjectsInactive.Include).onUISelected += SetAssetData;
}
public void SetTitle(string topic)
{
AssetLabel.text = topic;
}
public void SetAssetData(List<(string,string)> datas,string topic)
@@ -44,7 +47,6 @@ namespace XED.UI
Destroy(ui.gameObject);
}
UIList.Clear();
ConnectedAssetLabel.text = topic;
foreach (var d in datas)
{
var AssetEdit = Instantiate(prf_AssetEditUI, Body);