Files
AIC-Project/Doc/UIPrefabCreater/UI_LobbyJoystick.json
T
2026-07-10 10:24:29 +08:00

122 lines
3.1 KiB
JSON

{
"schemaVersion": 1,
"prefabName": "UI_LobbyJoystick",
"prefabPath": "Assets/Game/Art/UI/Prefab/UI_LobbyJoystick.prefab",
"description": "Lobby virtual joystick HUD prefab. Runtime code attaches it to the lobby HUD canvas and refreshes the final lower-left layout from LobbyWorldController constants.",
"canvas": {
"canvasScaler": {
"referenceResolution": [2048, 1024],
"matchWidthOrHeight": 0.5
}
},
"assets": {
"sprites": {
"lobby_joystick_base": "Assets/Game/Art/UI/Texture/Common/lobby_joystick_base.png",
"lobby_joystick_ring": "Assets/Game/Art/UI/Texture/Common/lobby_joystick_ring.png",
"lobby_joystick_knob": "Assets/Game/Art/UI/Texture/Common/lobby_joystick_knob.png"
}
},
"nodes": [
{
"name": "UI_LobbyJoystick",
"parent": null,
"active": true,
"rect": {
"anchorMin": [0, 0],
"anchorMax": [0, 0],
"pivot": [0.5, 0.5],
"anchoredPosition": [208, 158],
"sizeDelta": [148, 148]
},
"components": [
{
"type": "CanvasGroup",
"alpha": 0.96,
"interactable": false,
"blocksRaycasts": false
}
]
},
{
"name": "Base",
"parent": "UI_LobbyJoystick",
"active": true,
"rect": {
"anchorMin": [0.5, 0.5],
"anchorMax": [0.5, 0.5],
"pivot": [0.5, 0.5],
"anchoredPosition": [0, 0],
"sizeDelta": [148, 148]
},
"components": [
{
"type": "Image",
"sprite": "lobby_joystick_base",
"imageType": "Simple",
"preserveAspect": true,
"raycastTarget": false,
"color": "#FFFFFFFF"
},
{
"type": "Shadow",
"effectColor": "#06101F6B",
"effectDistance": [0, -7],
"useGraphicAlpha": true
}
]
},
{
"name": "Ring",
"parent": "UI_LobbyJoystick",
"active": true,
"rect": {
"anchorMin": [0.5, 0.5],
"anchorMax": [0.5, 0.5],
"pivot": [0.5, 0.5],
"anchoredPosition": [0, 0],
"sizeDelta": [148, 148]
},
"components": [
{
"type": "Image",
"sprite": "lobby_joystick_ring",
"imageType": "Simple",
"preserveAspect": true,
"raycastTarget": false,
"color": "#FFFFFFFF"
}
]
},
{
"name": "Knob",
"parent": "UI_LobbyJoystick",
"active": true,
"rect": {
"anchorMin": [0.5, 0.5],
"anchorMax": [0.5, 0.5],
"pivot": [0.5, 0.5],
"anchoredPosition": [0, 0],
"sizeDelta": [56, 56]
},
"components": [
{
"type": "Image",
"sprite": "lobby_joystick_knob",
"imageType": "Simple",
"preserveAspect": true,
"raycastTarget": false,
"color": "#FFFFFFFF"
},
{
"type": "Shadow",
"effectColor": "#06101F5C",
"effectDistance": [0, -5],
"useGraphicAlpha": true
}
]
}
],
"bindings": [],
"events": []
}