Fix damage pop UI paths and card hover tooltip support
This commit is contained in:
@@ -1539,7 +1539,7 @@
|
||||
{
|
||||
"id": "0e200005-0000-4000-8000-00000e200005",
|
||||
"path": "/ui/DeckUIGroup/DeckAllHud/Grid",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent,MOD.Core.ScrollLayoutGroupComponent",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent,MOD.Core.ScrollLayoutGroupComponent,MOD.Core.UITouchReceiveComponent",
|
||||
"jsonString": {
|
||||
"name": "Grid",
|
||||
"path": "/ui/DeckUIGroup/DeckAllHud/Grid",
|
||||
@@ -1728,6 +1728,10 @@
|
||||
"UseScroll": true,
|
||||
"VerticalScrollBarDirection": 1,
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.UITouchReceiveComponent",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
@@ -106038,7 +106042,7 @@
|
||||
{
|
||||
"id": "0e100005-0000-4000-8000-00000e100005",
|
||||
"path": "/ui/DeckUIGroup/DeckInspectHud/Grid",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent,MOD.Core.ScrollLayoutGroupComponent",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent,MOD.Core.ScrollLayoutGroupComponent,MOD.Core.UITouchReceiveComponent",
|
||||
"jsonString": {
|
||||
"name": "Grid",
|
||||
"path": "/ui/DeckUIGroup/DeckInspectHud/Grid",
|
||||
@@ -106227,6 +106231,10 @@
|
||||
"UseScroll": true,
|
||||
"VerticalScrollBarDirection": 1,
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.UITouchReceiveComponent",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
|
||||
4083
ui/RunUIGroup.ui
4083
ui/RunUIGroup.ui
File diff suppressed because it is too large
Load Diff
626
ui/ToolTipGroup.ui
Normal file
626
ui/ToolTipGroup.ui
Normal file
@@ -0,0 +1,626 @@
|
||||
{
|
||||
"Id": "",
|
||||
"GameId": "",
|
||||
"EntryKey": "ui://8208cc46-b682-444c-91a0-906bd01d39e1",
|
||||
"ContentType": "x-mod/ui",
|
||||
"Content": "",
|
||||
"Usage": 0,
|
||||
"UsePublish": 1,
|
||||
"UseService": 0,
|
||||
"CoreVersion": "26.5.0.0",
|
||||
"StudioVersion": "0.1.0.0",
|
||||
"DynamicLoading": 0,
|
||||
"ContentProto": {
|
||||
"Use": "Binary",
|
||||
"Entities": [
|
||||
{
|
||||
"id": "8208cc46-b682-444c-91a0-906bd01d39e1",
|
||||
"path": "/ui/ToolTipGroup",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.UIGroupComponent,MOD.Core.CanvasGroupComponent",
|
||||
"jsonString": {
|
||||
"name": "ToolTipGroup",
|
||||
"path": "/ui/ToolTipGroup",
|
||||
"nameEditable": true,
|
||||
"enable": true,
|
||||
"visible": true,
|
||||
"localize": true,
|
||||
"displayOrder": 7,
|
||||
"pathConstraints": "//",
|
||||
"revision": 1,
|
||||
"origin": {
|
||||
"type": "Model",
|
||||
"entry_id": "uigroup",
|
||||
"sub_entity_id": null,
|
||||
"root_entity_id": null,
|
||||
"replaced_model_id": null
|
||||
},
|
||||
"modelId": "uigroup",
|
||||
"@components": [
|
||||
{
|
||||
"@type": "MOD.Core.UITransformComponent",
|
||||
"AlignmentOption": 15,
|
||||
"AnchorsMax": {
|
||||
"x": 1.0,
|
||||
"y": 1.0
|
||||
},
|
||||
"AnchorsMin": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"MobileOnly": false,
|
||||
"OffsetMax": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"OffsetMin": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"Pivot": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"RectSize": {
|
||||
"x": 1920.0,
|
||||
"y": 1080.0
|
||||
},
|
||||
"UIMode": 1,
|
||||
"UIVersion": 2,
|
||||
"anchoredPosition": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"Position": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"QuaternionRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 1.0
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.UIGroupComponent",
|
||||
"DefaultShow": true,
|
||||
"GroupOrder": 7,
|
||||
"GroupType": 2,
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.CanvasGroupComponent",
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0cb0014a-0000-4000-8000-00000cb0014a",
|
||||
"path": "/ui/ToolTipGroup/TooltipBox",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent",
|
||||
"jsonString": {
|
||||
"name": "TooltipBox",
|
||||
"path": "/ui/ToolTipGroup/TooltipBox",
|
||||
"nameEditable": true,
|
||||
"enable": false,
|
||||
"visible": true,
|
||||
"localize": true,
|
||||
"displayOrder": 0,
|
||||
"pathConstraints": "///",
|
||||
"revision": 1,
|
||||
"origin": {
|
||||
"type": "Model",
|
||||
"entry_id": "UISprite",
|
||||
"sub_entity_id": null,
|
||||
"root_entity_id": null,
|
||||
"replaced_model_id": null
|
||||
},
|
||||
"modelId": "uisprite",
|
||||
"@components": [
|
||||
{
|
||||
"@type": "MOD.Core.UITransformComponent",
|
||||
"ActivePlatform": 255,
|
||||
"AlignmentOption": 0,
|
||||
"AnchorsMax": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"AnchorsMin": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"MobileOnly": false,
|
||||
"OffsetMax": {
|
||||
"x": 179.9999,
|
||||
"y": 475.0001
|
||||
},
|
||||
"OffsetMin": {
|
||||
"x": -180.0001,
|
||||
"y": 325.0001
|
||||
},
|
||||
"Pivot": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"RectSize": {
|
||||
"x": 360.0,
|
||||
"y": 150.0
|
||||
},
|
||||
"UIMode": 1,
|
||||
"UIScale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0,
|
||||
"z": 1.0
|
||||
},
|
||||
"UIVersion": 2,
|
||||
"anchoredPosition": {
|
||||
"x": -0.0001,
|
||||
"y": 400.0001
|
||||
},
|
||||
"Rotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"Position": {
|
||||
"x": -0.0001,
|
||||
"y": 400.0001,
|
||||
"z": 0.0
|
||||
},
|
||||
"QuaternionRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": -1.0
|
||||
},
|
||||
"Scale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0,
|
||||
"z": 1.0
|
||||
},
|
||||
"ZRotation": 0.0,
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.SpriteGUIRendererComponent",
|
||||
"AnimClipPlayType": 0,
|
||||
"EndFrameIndex": 2147483647,
|
||||
"ImageRUID": {
|
||||
"DataId": ""
|
||||
},
|
||||
"LocalPosition": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"LocalScale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0
|
||||
},
|
||||
"OverrideSorting": false,
|
||||
"PlayRate": 1.0,
|
||||
"PreserveSprite": 0,
|
||||
"StartFrameIndex": 0,
|
||||
"Color": {
|
||||
"r": 0.04,
|
||||
"g": 0.05,
|
||||
"b": 0.08,
|
||||
"a": 0.96
|
||||
},
|
||||
"DropShadow": false,
|
||||
"DropShadowAngle": 30.0,
|
||||
"DropShadowColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.72
|
||||
},
|
||||
"DropShadowDistance": 32.0,
|
||||
"FillAmount": 1.0,
|
||||
"FillCenter": true,
|
||||
"FillClockWise": true,
|
||||
"FillMethod": 0,
|
||||
"FillOrigin": 0,
|
||||
"FlipX": false,
|
||||
"FlipY": false,
|
||||
"FrameColumn": 1,
|
||||
"FrameRate": 0,
|
||||
"FrameRow": 1,
|
||||
"Outline": false,
|
||||
"OutlineColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 1.0
|
||||
},
|
||||
"OutlineWidth": 3.0,
|
||||
"RaycastTarget": false,
|
||||
"Type": 1,
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0cb0014b-0000-4000-8000-00000cb0014b",
|
||||
"path": "/ui/ToolTipGroup/TooltipBox/Name",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent,MOD.Core.TextComponent",
|
||||
"jsonString": {
|
||||
"name": "Name",
|
||||
"path": "/ui/ToolTipGroup/TooltipBox/Name",
|
||||
"nameEditable": true,
|
||||
"enable": true,
|
||||
"visible": true,
|
||||
"localize": true,
|
||||
"displayOrder": 0,
|
||||
"pathConstraints": "////",
|
||||
"revision": 1,
|
||||
"origin": {
|
||||
"type": "Model",
|
||||
"entry_id": "UIText",
|
||||
"sub_entity_id": null,
|
||||
"root_entity_id": null,
|
||||
"replaced_model_id": null
|
||||
},
|
||||
"modelId": "uitext",
|
||||
"@components": [
|
||||
{
|
||||
"@type": "MOD.Core.UITransformComponent",
|
||||
"ActivePlatform": 255,
|
||||
"AlignmentOption": 0,
|
||||
"AnchorsMax": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"AnchorsMin": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"MobileOnly": false,
|
||||
"OffsetMax": {
|
||||
"x": 166.0,
|
||||
"y": 66.0
|
||||
},
|
||||
"OffsetMin": {
|
||||
"x": -166.0,
|
||||
"y": 38.0
|
||||
},
|
||||
"Pivot": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"RectSize": {
|
||||
"x": 332.0,
|
||||
"y": 28.0
|
||||
},
|
||||
"UIMode": 1,
|
||||
"UIScale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0,
|
||||
"z": 1.0
|
||||
},
|
||||
"UIVersion": 2,
|
||||
"anchoredPosition": {
|
||||
"x": 0.0,
|
||||
"y": 52.0
|
||||
},
|
||||
"Position": {
|
||||
"x": 0.0,
|
||||
"y": 52.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"QuaternionRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 1.0
|
||||
},
|
||||
"Scale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0,
|
||||
"z": 1.0
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.SpriteGUIRendererComponent",
|
||||
"AnimClipPlayType": 0,
|
||||
"EndFrameIndex": 2147483647,
|
||||
"ImageRUID": {
|
||||
"DataId": ""
|
||||
},
|
||||
"LocalPosition": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"LocalScale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0
|
||||
},
|
||||
"OverrideSorting": false,
|
||||
"PlayRate": 1.0,
|
||||
"PreserveSprite": 0,
|
||||
"StartFrameIndex": 0,
|
||||
"Color": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.0
|
||||
},
|
||||
"DropShadow": false,
|
||||
"DropShadowAngle": 30.0,
|
||||
"DropShadowColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.72
|
||||
},
|
||||
"DropShadowDistance": 32.0,
|
||||
"FillAmount": 1.0,
|
||||
"FillCenter": true,
|
||||
"FillClockWise": true,
|
||||
"FillMethod": 0,
|
||||
"FillOrigin": 0,
|
||||
"FlipX": false,
|
||||
"FlipY": false,
|
||||
"FrameColumn": 1,
|
||||
"FrameRate": 0,
|
||||
"FrameRow": 1,
|
||||
"Outline": false,
|
||||
"OutlineColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 1.0
|
||||
},
|
||||
"OutlineWidth": 3.0,
|
||||
"RaycastTarget": false,
|
||||
"Type": 1,
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.TextComponent",
|
||||
"Alignment": 4,
|
||||
"Bold": true,
|
||||
"DropShadow": false,
|
||||
"DropShadowAngle": 30.0,
|
||||
"DropShadowColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.72
|
||||
},
|
||||
"DropShadowDistance": 32.0,
|
||||
"Font": 0,
|
||||
"FontColor": {
|
||||
"r": 0.94,
|
||||
"g": 0.74,
|
||||
"b": 0.26,
|
||||
"a": 1.0
|
||||
},
|
||||
"FontSize": 19,
|
||||
"MaxSize": 19,
|
||||
"MinSize": 8,
|
||||
"OutlineColor": {
|
||||
"r": 0.08,
|
||||
"g": 0.08,
|
||||
"b": 0.08,
|
||||
"a": 1.0
|
||||
},
|
||||
"OutlineDistance": {
|
||||
"x": 1.0,
|
||||
"y": -1.0
|
||||
},
|
||||
"OutlineWidth": 1.0,
|
||||
"Overflow": 0,
|
||||
"OverrideSorting": false,
|
||||
"Padding": {
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0
|
||||
},
|
||||
"SizeFit": false,
|
||||
"Text": "",
|
||||
"UseOutLine": true,
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "0cb0014c-0000-4000-8000-00000cb0014c",
|
||||
"path": "/ui/ToolTipGroup/TooltipBox/Desc",
|
||||
"componentNames": "MOD.Core.UITransformComponent,MOD.Core.SpriteGUIRendererComponent,MOD.Core.TextComponent",
|
||||
"jsonString": {
|
||||
"name": "Desc",
|
||||
"path": "/ui/ToolTipGroup/TooltipBox/Desc",
|
||||
"nameEditable": true,
|
||||
"enable": true,
|
||||
"visible": true,
|
||||
"localize": true,
|
||||
"displayOrder": 1,
|
||||
"pathConstraints": "////",
|
||||
"revision": 1,
|
||||
"origin": {
|
||||
"type": "Model",
|
||||
"entry_id": "UIText",
|
||||
"sub_entity_id": null,
|
||||
"root_entity_id": null,
|
||||
"replaced_model_id": null
|
||||
},
|
||||
"modelId": "uitext",
|
||||
"@components": [
|
||||
{
|
||||
"@type": "MOD.Core.UITransformComponent",
|
||||
"ActivePlatform": 255,
|
||||
"AlignmentOption": 0,
|
||||
"AnchorsMax": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"AnchorsMin": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"MobileOnly": false,
|
||||
"OffsetMax": {
|
||||
"x": 166.0,
|
||||
"y": 33.0
|
||||
},
|
||||
"OffsetMin": {
|
||||
"x": -166.0,
|
||||
"y": -69.0
|
||||
},
|
||||
"Pivot": {
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"RectSize": {
|
||||
"x": 332.0,
|
||||
"y": 102.0
|
||||
},
|
||||
"UIMode": 1,
|
||||
"UIScale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0,
|
||||
"z": 1.0
|
||||
},
|
||||
"UIVersion": 2,
|
||||
"anchoredPosition": {
|
||||
"x": 0.0,
|
||||
"y": -18.0
|
||||
},
|
||||
"Position": {
|
||||
"x": 0.0,
|
||||
"y": -18.0,
|
||||
"z": 0.0
|
||||
},
|
||||
"QuaternionRotation": {
|
||||
"x": 0.0,
|
||||
"y": 0.0,
|
||||
"z": 0.0,
|
||||
"w": 1.0
|
||||
},
|
||||
"Scale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0,
|
||||
"z": 1.0
|
||||
},
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.SpriteGUIRendererComponent",
|
||||
"AnimClipPlayType": 0,
|
||||
"EndFrameIndex": 2147483647,
|
||||
"ImageRUID": {
|
||||
"DataId": ""
|
||||
},
|
||||
"LocalPosition": {
|
||||
"x": 0.0,
|
||||
"y": 0.0
|
||||
},
|
||||
"LocalScale": {
|
||||
"x": 1.0,
|
||||
"y": 1.0
|
||||
},
|
||||
"OverrideSorting": false,
|
||||
"PlayRate": 1.0,
|
||||
"PreserveSprite": 0,
|
||||
"StartFrameIndex": 0,
|
||||
"Color": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.0
|
||||
},
|
||||
"DropShadow": false,
|
||||
"DropShadowAngle": 30.0,
|
||||
"DropShadowColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.72
|
||||
},
|
||||
"DropShadowDistance": 32.0,
|
||||
"FillAmount": 1.0,
|
||||
"FillCenter": true,
|
||||
"FillClockWise": true,
|
||||
"FillMethod": 0,
|
||||
"FillOrigin": 0,
|
||||
"FlipX": false,
|
||||
"FlipY": false,
|
||||
"FrameColumn": 1,
|
||||
"FrameRate": 0,
|
||||
"FrameRow": 1,
|
||||
"Outline": false,
|
||||
"OutlineColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 1.0
|
||||
},
|
||||
"OutlineWidth": 3.0,
|
||||
"RaycastTarget": false,
|
||||
"Type": 1,
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"@type": "MOD.Core.TextComponent",
|
||||
"Alignment": 0,
|
||||
"Bold": false,
|
||||
"DropShadow": false,
|
||||
"DropShadowAngle": 30.0,
|
||||
"DropShadowColor": {
|
||||
"r": 0.0,
|
||||
"g": 0.0,
|
||||
"b": 0.0,
|
||||
"a": 0.72
|
||||
},
|
||||
"DropShadowDistance": 32.0,
|
||||
"Font": 0,
|
||||
"FontColor": {
|
||||
"r": 0.92,
|
||||
"g": 0.92,
|
||||
"b": 0.95,
|
||||
"a": 1.0
|
||||
},
|
||||
"FontSize": 15,
|
||||
"MaxSize": 15,
|
||||
"MinSize": 8,
|
||||
"OutlineColor": {
|
||||
"r": 0.08,
|
||||
"g": 0.08,
|
||||
"b": 0.08,
|
||||
"a": 1.0
|
||||
},
|
||||
"OutlineDistance": {
|
||||
"x": 1.0,
|
||||
"y": -1.0
|
||||
},
|
||||
"OutlineWidth": 1.0,
|
||||
"Overflow": 0,
|
||||
"OverrideSorting": false,
|
||||
"Padding": {
|
||||
"left": 0,
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
"bottom": 0
|
||||
},
|
||||
"SizeFit": false,
|
||||
"Text": "",
|
||||
"UseOutLine": true,
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"@version": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user