feat(card): 完善卡牌图标显示与锁定功能
- 为英雄卡牌添加动画图标显示,根据配置加载对应动画 - 修复锁定按钮显示逻辑,现在正确显示锁定/解锁状态 - 为技能、buff、英雄等卡牌类型添加图标解析功能 - 更新卡牌预制体,调整图标尺寸和锁定图标 - 删除未使用的动画资源文件 - 优化资源图集配置,调整精灵帧位置
This commit is contained in:
@@ -26,43 +26,28 @@
|
||||
},
|
||||
{
|
||||
"__id__": 26
|
||||
},
|
||||
{
|
||||
"__id__": 37
|
||||
},
|
||||
{
|
||||
"__id__": 46
|
||||
},
|
||||
{
|
||||
"__id__": 55
|
||||
},
|
||||
{
|
||||
"__id__": 64
|
||||
},
|
||||
{
|
||||
"__id__": 73
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 82
|
||||
"__id__": 37
|
||||
},
|
||||
{
|
||||
"__id__": 84
|
||||
"__id__": 39
|
||||
},
|
||||
{
|
||||
"__id__": 86
|
||||
"__id__": 41
|
||||
},
|
||||
{
|
||||
"__id__": 88
|
||||
"__id__": 43
|
||||
},
|
||||
{
|
||||
"__id__": 90
|
||||
"__id__": 45
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 92
|
||||
"__id__": 47
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -666,631 +651,6 @@
|
||||
"z": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 38
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 37
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "fb48f231-c2a1-4921-8e71-1ec9b9ba245f",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
|
||||
"instance": {
|
||||
"__id__": 39
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInstance",
|
||||
"fileId": "7bMnN2oE5GQa+18/L53x5n",
|
||||
"prefabRootNode": {
|
||||
"__id__": 1
|
||||
},
|
||||
"mountedChildren": [],
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 40
|
||||
},
|
||||
{
|
||||
"__id__": 42
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
},
|
||||
{
|
||||
"__id__": 44
|
||||
},
|
||||
{
|
||||
"__id__": 45
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 41
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
],
|
||||
"value": "up_ap"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"c46/YsCPVOJYA4mWEpNYRx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 41
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 41
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 41
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 41
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
],
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 47
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 46
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "05233bb0-9fd9-44aa-b382-002c517142fd",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
|
||||
"instance": {
|
||||
"__id__": 48
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInstance",
|
||||
"fileId": "6fVTLgxWhE1ojXFO/Dt5NC",
|
||||
"prefabRootNode": {
|
||||
"__id__": 1
|
||||
},
|
||||
"mountedChildren": [],
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 49
|
||||
},
|
||||
{
|
||||
"__id__": 51
|
||||
},
|
||||
{
|
||||
"__id__": 52
|
||||
},
|
||||
{
|
||||
"__id__": 53
|
||||
},
|
||||
{
|
||||
"__id__": 54
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 50
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
],
|
||||
"value": "up_hp"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"c46/YsCPVOJYA4mWEpNYRx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 50
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 50
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 50
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 50
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
],
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 56
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 55
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "55e98478-734f-4d85-92b2-0a62a52c494c",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
|
||||
"instance": {
|
||||
"__id__": 57
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInstance",
|
||||
"fileId": "24CE2nl1pKeagfwY/qvcWz",
|
||||
"prefabRootNode": {
|
||||
"__id__": 1
|
||||
},
|
||||
"mountedChildren": [],
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 58
|
||||
},
|
||||
{
|
||||
"__id__": 60
|
||||
},
|
||||
{
|
||||
"__id__": 61
|
||||
},
|
||||
{
|
||||
"__id__": 62
|
||||
},
|
||||
{
|
||||
"__id__": 63
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 59
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
],
|
||||
"value": "up_blue"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"c46/YsCPVOJYA4mWEpNYRx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 59
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 59
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 59
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 59
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
],
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 65
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 64
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "deb4a1bb-3f47-4c7c-9be1-352518675a16",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
|
||||
"instance": {
|
||||
"__id__": 66
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInstance",
|
||||
"fileId": "298pmNDI5GFYywMGCnqoIY",
|
||||
"prefabRootNode": {
|
||||
"__id__": 1
|
||||
},
|
||||
"mountedChildren": [],
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 67
|
||||
},
|
||||
{
|
||||
"__id__": 69
|
||||
},
|
||||
{
|
||||
"__id__": 70
|
||||
},
|
||||
{
|
||||
"__id__": 71
|
||||
},
|
||||
{
|
||||
"__id__": 72
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 68
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
],
|
||||
"value": "up_green"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"c46/YsCPVOJYA4mWEpNYRx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 68
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 68
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 68
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 68
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
],
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 74
|
||||
},
|
||||
"__editorExtras__": {}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 73
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "91e5e3e3-d2f1-4522-9f82-649e9bc8f8db",
|
||||
"__expectedType__": "cc.Prefab"
|
||||
},
|
||||
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
|
||||
"instance": {
|
||||
"__id__": 75
|
||||
},
|
||||
"targetOverrides": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInstance",
|
||||
"fileId": "fen359pLtNwquH5hASoZLG",
|
||||
"prefabRootNode": {
|
||||
"__id__": 1
|
||||
},
|
||||
"mountedChildren": [],
|
||||
"mountedComponents": [],
|
||||
"propertyOverrides": [
|
||||
{
|
||||
"__id__": 76
|
||||
},
|
||||
{
|
||||
"__id__": 78
|
||||
},
|
||||
{
|
||||
"__id__": 79
|
||||
},
|
||||
{
|
||||
"__id__": 80
|
||||
},
|
||||
{
|
||||
"__id__": 81
|
||||
}
|
||||
],
|
||||
"removedComponents": []
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 77
|
||||
},
|
||||
"propertyPath": [
|
||||
"_name"
|
||||
],
|
||||
"value": "up_red"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.TargetInfo",
|
||||
"localID": [
|
||||
"c46/YsCPVOJYA4mWEpNYRx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 77
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lpos"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 77
|
||||
},
|
||||
"propertyPath": [
|
||||
"_lrot"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 77
|
||||
},
|
||||
"propertyPath": [
|
||||
"_euler"
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "CCPropertyOverrideInfo",
|
||||
"targetInfo": {
|
||||
"__id__": 77
|
||||
},
|
||||
"propertyPath": [
|
||||
"_active"
|
||||
],
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
@@ -1301,7 +661,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 83
|
||||
"__id__": 38
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -1329,7 +689,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 85
|
||||
"__id__": 40
|
||||
},
|
||||
"anm": {
|
||||
"__id__": 5
|
||||
@@ -1350,7 +710,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 87
|
||||
"__id__": 42
|
||||
},
|
||||
"debugMode": false,
|
||||
"_id": ""
|
||||
@@ -1369,7 +729,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 89
|
||||
"__id__": 44
|
||||
},
|
||||
"enabledContactListener": true,
|
||||
"bullet": false,
|
||||
@@ -1403,7 +763,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 91
|
||||
"__id__": 46
|
||||
},
|
||||
"tag": 0,
|
||||
"_group": 4,
|
||||
@@ -1439,21 +799,6 @@
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": [
|
||||
{
|
||||
"__id__": 73
|
||||
},
|
||||
{
|
||||
"__id__": 64
|
||||
},
|
||||
{
|
||||
"__id__": 55
|
||||
},
|
||||
{
|
||||
"__id__": 46
|
||||
},
|
||||
{
|
||||
"__id__": 37
|
||||
},
|
||||
{
|
||||
"__id__": 26
|
||||
},
|
||||
|
||||
@@ -702,13 +702,13 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 52,
|
||||
"g": 152,
|
||||
"b": 219,
|
||||
"r": 245,
|
||||
"g": 255,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@12034",
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@46c83",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
@@ -1052,7 +1052,7 @@
|
||||
"__id__": 28
|
||||
},
|
||||
"_mode": 0,
|
||||
"_totalLength": 98,
|
||||
"_totalLength": 100,
|
||||
"_progress": 1,
|
||||
"_reverse": false,
|
||||
"_id": ""
|
||||
|
||||
@@ -1,135 +0,0 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "heath",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"embeddedPlayerGroups": []
|
||||
},
|
||||
"_native": "",
|
||||
"sample": 18,
|
||||
"speed": 1,
|
||||
"wrapMode": 1,
|
||||
"enableTrsBlending": false,
|
||||
"_duration": 0.6111111111111112,
|
||||
"_hash": 500763545,
|
||||
"_tracks": [
|
||||
{
|
||||
"__id__": 1
|
||||
}
|
||||
],
|
||||
"_exoticAnimation": null,
|
||||
"_events": [],
|
||||
"_embeddedPlayers": [],
|
||||
"_additiveSettings": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_auxiliaryCurveEntries": []
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ObjectTrack",
|
||||
"_binding": {
|
||||
"__type__": "cc.animation.TrackBinding",
|
||||
"path": {
|
||||
"__id__": 2
|
||||
},
|
||||
"proxy": null
|
||||
},
|
||||
"_channel": {
|
||||
"__id__": 5
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.TrackPath",
|
||||
"_paths": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
},
|
||||
"spriteFrame"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.HierarchyPath",
|
||||
"path": "skill"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ComponentPath",
|
||||
"component": "cc.Sprite"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.Channel",
|
||||
"_curve": {
|
||||
"__id__": 6
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ObjectCurve",
|
||||
"_times": [
|
||||
0,
|
||||
0.05555555555555555,
|
||||
0.1111111111111111,
|
||||
0.16666666666666666,
|
||||
0.2222222222222222,
|
||||
0.2777777777777778,
|
||||
0.3333333333333333,
|
||||
0.3888888888888889,
|
||||
0.4444444444444444,
|
||||
0.5,
|
||||
0.5555555555555556
|
||||
],
|
||||
"_values": [
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@66538",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@4fa5c",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@18e34",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@fb0d3",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@e21f4",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@465e4",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@b1a60",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@61914",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@ae881",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@2bcdc",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@21da0",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||
"enabled": false,
|
||||
"refClip": null
|
||||
}
|
||||
]
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"ver": "2.0.3",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "43b4ca23-ea22-49e4-8faf-473edc7bb374",
|
||||
"files": [
|
||||
".cconb"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "heathed"
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{676,1178},{116,90}}</string>
|
||||
<string>{{520,1392},{116,90}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -34,9 +34,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{893,667},{98,114}}</string>
|
||||
<string>{{729,1589},{98,114}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Economy_Coin_02_Silver.png</key>
|
||||
<dict>
|
||||
@@ -51,7 +51,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{842,1606},{102,102}}</string>
|
||||
<string>{{319,1895},{102,102}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -68,7 +68,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{891,431},{86,106}}</string>
|
||||
<string>{{1,1697},{86,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -85,9 +85,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{412,1475},{116,102}}</string>
|
||||
<string>{{196,1465},{116,102}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Economy_Gem_02_Red.png</key>
|
||||
<dict>
|
||||
@@ -102,7 +102,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{781,1296},{106,106}}</string>
|
||||
<string>{{493,1734},{106,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -119,7 +119,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{516,1398},{106,106}}</string>
|
||||
<string>{{721,1689},{106,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -136,7 +136,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{881,1095},{108,98}}</string>
|
||||
<string>{{383,1708},{108,98}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -153,9 +153,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{842,1500},{102,104}}</string>
|
||||
<string>{{1,1895},{102,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Economy_Gem_05_Red.png</key>
|
||||
<dict>
|
||||
@@ -170,9 +170,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{635,1710},{102,104}}</string>
|
||||
<string>{{107,1895},{102,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Economy_Gem_05_Yellow.png</key>
|
||||
<dict>
|
||||
@@ -187,9 +187,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{739,1712},{102,104}}</string>
|
||||
<string>{{213,1895},{102,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Economy_Heart_Red.png</key>
|
||||
<dict>
|
||||
@@ -204,9 +204,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{429,1593},{112,96}}</string>
|
||||
<string>{{162,1569},{112,96}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Economy_Water_01_Blue.png</key>
|
||||
<dict>
|
||||
@@ -221,9 +221,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{437,1707},{98,108}}</string>
|
||||
<string>{{611,1651},{98,108}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Ellipse 666.png</key>
|
||||
<dict>
|
||||
@@ -238,7 +238,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{97,97}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{635,1505},{97,97}}</string>
|
||||
<string>{{733,1895},{97,97}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -255,7 +255,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{64,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{804,849},{52,52}}</string>
|
||||
<string>{{116,1492},{52,52}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -272,9 +272,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{181,202}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{113,982},{181,202}}</string>
|
||||
<string>{{1,1048},{181,202}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Group 67.png</key>
|
||||
<dict>
|
||||
@@ -289,9 +289,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{181,202}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{361,715},{181,202}}</string>
|
||||
<string>{{412,1026},{181,202}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Group 68.png</key>
|
||||
<dict>
|
||||
@@ -306,9 +306,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{181,202}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{113,1186},{181,202}}</string>
|
||||
<string>{{205,1126},{181,202}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Group 69.png</key>
|
||||
<dict>
|
||||
@@ -323,9 +323,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{181,202}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{109,1390},{181,202}}</string>
|
||||
<string>{{1,1231},{181,202}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Group 70.png</key>
|
||||
<dict>
|
||||
@@ -340,7 +340,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{181,202}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{611,539},{181,202}}</string>
|
||||
<string>{{616,1026},{181,202}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -357,7 +357,41 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{181,202}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{544,722},{181,202}}</string>
|
||||
<string>{{409,1209},{181,202}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Icon_Coin.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>anchor</key>
|
||||
<string>{0.5,0.5}</string>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{38,42}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{38,42}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{902,247},{38,42}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Icon_Lock03.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>anchor</key>
|
||||
<string>{0.5,0.5}</string>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{71,93}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{71,93}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{845,1634},{71,93}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -374,7 +408,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{554,1178},{120,110}}</string>
|
||||
<string>{{820,1041},{120,110}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -391,9 +425,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1659},{120,110}}</string>
|
||||
<string>{{820,1153},{120,110}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Item_Chest_01_Red.png</key>
|
||||
<dict>
|
||||
@@ -408,7 +442,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{635,1608},{104,100}}</string>
|
||||
<string>{{627,1895},{104,100}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -425,7 +459,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{221,1712},{104,104}}</string>
|
||||
<string>{{89,1779},{104,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -442,9 +476,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{527,1573},{88,112}}</string>
|
||||
<string>{{1,1607},{88,112}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Item_Scroll_01_Red.png</key>
|
||||
<dict>
|
||||
@@ -459,9 +493,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{113,1594},{114,116}}</string>
|
||||
<string>{{732,1473},{114,116}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Misc_Fire_01_Red.png</key>
|
||||
<dict>
|
||||
@@ -476,7 +510,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{327,1708},{108,108}}</string>
|
||||
<string>{{501,1624},{108,108}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -493,7 +527,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{554,1290},{120,106}}</string>
|
||||
<string>{{741,1365},{120,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -510,9 +544,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{110,81}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{317,1625},{110,81}}</string>
|
||||
<string>{{314,1465},{110,81}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Rectangle 568.png</key>
|
||||
<dict>
|
||||
@@ -527,9 +561,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{204,40}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{512,1148},{204,40}}</string>
|
||||
<string>{{1,1006},{204,40}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>Rectangleligjht 2426_.png</key>
|
||||
<dict>
|
||||
@@ -544,9 +578,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{112,90}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{848,1405},{112,90}}</string>
|
||||
<string>{{850,1520},{112,90}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>Stat_AttackSpeed_01.png</key>
|
||||
<dict>
|
||||
@@ -561,7 +595,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{878,883},{110,110}}</string>
|
||||
<string>{{161,1667},{110,110}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -578,7 +612,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{843,1710},{102,102}}</string>
|
||||
<string>{{423,1895},{102,102}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -595,9 +629,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{734,1404},{94,112}}</string>
|
||||
<string>{{515,1510},{94,112}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>UI_Common_AD_01_Gray.png</key>
|
||||
<dict>
|
||||
@@ -612,7 +646,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{113,1712},{104,106}}</string>
|
||||
<string>{{601,1751},{104,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -629,9 +663,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{768,1178},{100,116}}</string>
|
||||
<string>{{397,1494},{100,116}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>UI_Common_Speed_01_Yellow.png</key>
|
||||
<dict>
|
||||
@@ -646,7 +680,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{889,1293},{110,110}}</string>
|
||||
<string>{{389,1596},{110,110}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -663,9 +697,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{537,1687},{106,96}}</string>
|
||||
<string>{{709,1797},{106,96}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>UI_Play_Map_01.png</key>
|
||||
<dict>
|
||||
@@ -680,7 +714,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{624,1403},{108,100}}</string>
|
||||
<string>{{273,1677},{108,100}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -697,9 +731,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{893,539},{126,98}}</string>
|
||||
<string>{{808,1265},{126,98}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>UI_Play_Skull_04.png</key>
|
||||
<dict>
|
||||
@@ -714,7 +748,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{863,783},{126,98}}</string>
|
||||
<string>{{613,1365},{126,98}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -731,7 +765,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{734,1500},{106,106}}</string>
|
||||
<string>{{829,1707},{106,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -748,9 +782,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{412,1355},{118,100}}</string>
|
||||
<string>{{400,1392},{118,100}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>UI_Social_Guild_01.png</key>
|
||||
<dict>
|
||||
@@ -765,7 +799,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{870,1195},{116,96}}</string>
|
||||
<string>{{611,1553},{116,96}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -782,9 +816,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{790,905},{118,86}}</string>
|
||||
<string>{{612,1465},{118,86}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>UI_System_Setting_01.png</key>
|
||||
<dict>
|
||||
@@ -799,7 +833,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{128,128}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{741,1608},{102,98}}</string>
|
||||
<string>{{527,1895},{102,98}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -816,7 +850,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{46,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{751,1100},{46,76}}</string>
|
||||
<string>{{891,344},{46,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -833,7 +867,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{46,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{962,1405},{46,76}}</string>
|
||||
<string>{{891,422},{46,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -850,7 +884,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{51,47}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{576,1506},{51,47}}</string>
|
||||
<string>{{891,291},{51,47}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -867,7 +901,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{44,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{962,1483},{44,44}}</string>
|
||||
<string>{{891,500},{44,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -884,9 +918,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{227,42}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{512,919},{227,42}}</string>
|
||||
<string>{{673,247},{227,42}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>bg4.png</key>
|
||||
<dict>
|
||||
@@ -901,7 +935,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{248,179}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{361,534},{248,179}}</string>
|
||||
<string>{{673,66},{248,179}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -918,9 +952,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{405,110}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,982},{405,110}}</string>
|
||||
<string>{{1,894},{405,110}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>bg_line.png</key>
|
||||
<dict>
|
||||
@@ -935,9 +969,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{250,63}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{949,1},{250,63}}</string>
|
||||
<string>{{673,1},{250,63}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_large_blue.png</key>
|
||||
<dict>
|
||||
@@ -952,7 +986,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{216,106}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{673,431},{216,106}}</string>
|
||||
<string>{{673,291},{216,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -969,9 +1003,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{216,106}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{296,984},{216,106}}</string>
|
||||
<string>{{673,399},{216,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_large_green.png</key>
|
||||
<dict>
|
||||
@@ -986,9 +1020,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{216,106}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{296,1202},{216,106}}</string>
|
||||
<string>{{673,507},{216,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_large_orange.png</key>
|
||||
<dict>
|
||||
@@ -1003,9 +1037,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{216,106}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{404,919},{216,106}}</string>
|
||||
<string>{{451,534},{216,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_large_red.png</key>
|
||||
<dict>
|
||||
@@ -1020,9 +1054,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{216,106}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{404,1137},{216,106}}</string>
|
||||
<string>{{449,642},{216,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_medium_blue.png</key>
|
||||
<dict>
|
||||
@@ -1037,9 +1071,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{193,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{815,539},{193,76}}</string>
|
||||
<string>{{205,1309},{193,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_medium_gray.png</key>
|
||||
<dict>
|
||||
@@ -1054,9 +1088,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{193,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{556,905},{193,76}}</string>
|
||||
<string>{{205,1387},{193,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_medium_green.png</key>
|
||||
<dict>
|
||||
@@ -1071,9 +1105,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{193,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{634,905},{193,76}}</string>
|
||||
<string>{{1,1414},{193,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_medium_red.png</key>
|
||||
<dict>
|
||||
@@ -1088,9 +1122,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{193,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{712,905},{193,76}}</string>
|
||||
<string>{{613,1209},{193,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>btn_medium_yellow.png</key>
|
||||
<dict>
|
||||
@@ -1105,7 +1139,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{193,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{556,1100},{193,76}}</string>
|
||||
<string>{{613,1287},{193,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1122,7 +1156,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{85,86}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{229,1625},{85,86}}</string>
|
||||
<string>{{1,1808},{85,86}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -1139,9 +1173,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{268,106}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1389},{268,106}}</string>
|
||||
<string>{{669,638},{268,106}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>check.png</key>
|
||||
<dict>
|
||||
@@ -1156,9 +1190,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{80,76}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{799,1098},{80,76}}</string>
|
||||
<string>{{863,1365},{80,76}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>common_btn_close.png</key>
|
||||
<dict>
|
||||
@@ -1173,9 +1207,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{103,105}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{676,1296},{103,105}}</string>
|
||||
<string>{{832,1815},{103,105}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>deco.png</key>
|
||||
<dict>
|
||||
@@ -1190,9 +1224,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{448,39}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{320,534},{448,39}}</string>
|
||||
<string>{{1,534},{448,39}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>eff.png</key>
|
||||
<dict>
|
||||
@@ -1207,9 +1241,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{317,446}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,534},{317,446}}</string>
|
||||
<string>{{1,575},{317,446}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>gold.png</key>
|
||||
<dict>
|
||||
@@ -1224,7 +1258,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{54,54}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{748,849},{54,54}}</string>
|
||||
<string>{{879,985},{54,54}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1241,7 +1275,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{98,111}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{878,995},{98,111}}</string>
|
||||
<string>{{276,1577},{98,111}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -1258,7 +1292,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{30,30}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{361,919},{30,30}}</string>
|
||||
<string>{{408,931},{30,30}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1275,7 +1309,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{113,113}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{748,734},{113,113}}</string>
|
||||
<string>{{1,1492},{113,113}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1292,9 +1326,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{203,118}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{292,1420},{203,118}}</string>
|
||||
<string>{{207,1006},{203,118}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>lock.png</key>
|
||||
<dict>
|
||||
@@ -1309,7 +1343,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{35,39}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1781},{35,39}}</string>
|
||||
<string>{{408,894},{35,39}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -1326,7 +1360,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{58,65}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{516,1506},{58,65}}</string>
|
||||
<string>{{879,746},{58,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1343,7 +1377,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{170,57}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{949,253},{170,57}}</string>
|
||||
<string>{{879,813},{170,57}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -1360,9 +1394,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{428,274}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{673,1},{428,274}}</string>
|
||||
<string>{{449,750},{428,274}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>reset.png</key>
|
||||
<dict>
|
||||
@@ -1377,7 +1411,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{76,71}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{790,1025},{76,71}}</string>
|
||||
<string>{{863,1447},{76,71}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1411,7 +1445,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{44,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{946,1529},{44,44}}</string>
|
||||
<string>{{891,546},{44,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1428,7 +1462,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{44,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{946,1575},{44,44}}</string>
|
||||
<string>{{891,592},{44,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1445,7 +1479,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{44,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{946,1621},{44,44}}</string>
|
||||
<string>{{116,1546},{44,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1462,7 +1496,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{44,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{947,1667},{44,44}}</string>
|
||||
<string>{{116,1592},{44,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1479,7 +1513,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{44,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{947,1713},{44,44}}</string>
|
||||
<string>{{115,1638},{44,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -1495,9 +1529,9 @@
|
||||
<key>realTextureFileName</key>
|
||||
<string>aui.png</string>
|
||||
<key>size</key>
|
||||
<string>{1013,1817}</string>
|
||||
<string>{941,1998}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:18cadc6974d017ed5b85e03f790cafab:05978a14b718cd0dc5f94bea8267c5e3:b5775493c55766efeea5ccac51652ce8$</string>
|
||||
<string>$TexturePacker:SmartUpdate:90291883e9600b0eb48ff107a380a983:c0fc681917102bd02ab271e6c433ab2b:b5775493c55766efeea5ccac51652ce8$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>aui.png</string>
|
||||
</dict>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 401 KiB After Width: | Height: | Size: 406 KiB |
@@ -41,19 +41,22 @@
|
||||
},
|
||||
{
|
||||
"__id__": 128
|
||||
},
|
||||
{
|
||||
"__id__": 134
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 146
|
||||
"__id__": 152
|
||||
},
|
||||
{
|
||||
"__id__": 148
|
||||
"__id__": 154
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 150
|
||||
"__id__": 156
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1488,7 +1491,7 @@
|
||||
"__id__": 56
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 64
|
||||
@@ -2833,8 +2836,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.4,
|
||||
"y": 0.4,
|
||||
"x": 0.6,
|
||||
"y": 0.5,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -2861,8 +2864,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"height": 116
|
||||
"width": 71,
|
||||
"height": 93
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -2898,7 +2901,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@9bf16",
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@cebb2",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@@ -2912,7 +2915,7 @@
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_useGrayscale": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
|
||||
"__expectedType__": "cc.SpriteAtlas"
|
||||
@@ -2936,6 +2939,145 @@
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "unlock",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 129
|
||||
},
|
||||
{
|
||||
"__id__": 131
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 133
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 107.855,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.6,
|
||||
"y": 0.5,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 128
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 130
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 71,
|
||||
"height": 93
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "27e4xvL1xFE5W3UEjN+P2U"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 128
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 132
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@cebb2",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
|
||||
"__expectedType__": "cc.SpriteAtlas"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "a2AJSrmfZIGIP3eBo5ENul"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "c6hfaCqT5C67MK1fH43cAk",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "coin",
|
||||
@@ -2946,23 +3088,23 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 129
|
||||
"__id__": 135
|
||||
},
|
||||
{
|
||||
"__id__": 135
|
||||
"__id__": 141
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 141
|
||||
"__id__": 147
|
||||
},
|
||||
{
|
||||
"__id__": 143
|
||||
"__id__": 149
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 145
|
||||
"__id__": 151
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -2999,147 +3141,8 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 128
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 130
|
||||
},
|
||||
{
|
||||
"__id__": 132
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 134
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 129
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 131
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 35,
|
||||
"height": 35
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "38DeJBYvFJsJYX9545ctt3"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 129
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 133
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@ec5a5",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
|
||||
"__expectedType__": "cc.SpriteAtlas"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "95g2LbLWtFJLFLnPCex4xq"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "d6lvh87QJBqrQKgDnhSWth",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "num",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 128
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
@@ -3194,6 +3197,145 @@
|
||||
"__prefab": {
|
||||
"__id__": 137
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 35,
|
||||
"height": 35
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "38DeJBYvFJsJYX9545ctt3"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 135
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 139
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@ec5a5",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": {
|
||||
"__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4",
|
||||
"__expectedType__": "cc.SpriteAtlas"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "95g2LbLWtFJLFLnPCex4xq"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "d6lvh87QJBqrQKgDnhSWth",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "num",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 134
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 142
|
||||
},
|
||||
{
|
||||
"__id__": 144
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 146
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 141
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 143
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 17.90380859375,
|
||||
@@ -3216,11 +3358,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 135
|
||||
"__id__": 141
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 139
|
||||
"__id__": 145
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -3297,11 +3439,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 128
|
||||
"__id__": 134
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 142
|
||||
"__id__": 148
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -3325,11 +3467,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 128
|
||||
"__id__": 134
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 144
|
||||
"__id__": 150
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
@@ -3384,7 +3526,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 147
|
||||
"__id__": 153
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -3412,12 +3554,14 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 149
|
||||
"__id__": 155
|
||||
},
|
||||
"Lock": {
|
||||
"__id__": 122
|
||||
},
|
||||
"unLock": null,
|
||||
"unLock": {
|
||||
"__id__": 128
|
||||
},
|
||||
"ap_node": {
|
||||
"__id__": 89
|
||||
},
|
||||
@@ -3431,7 +3575,7 @@
|
||||
"__id__": 63
|
||||
},
|
||||
"cost_node": {
|
||||
"__id__": 135
|
||||
"__id__": 141
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 220 KiB |
@@ -568,7 +568,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@b8525",
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@f96ec",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 3,
|
||||
@@ -911,9 +911,9 @@
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import { mLogger } from "../common/Logger";
|
||||
import { _decorator, EventTouch, Label, Node, NodeEventType, Sprite, SpriteAtlas, Tween, tween, UIOpacity, Vec3 } from "cc";
|
||||
import { _decorator, Animation, AnimationClip, EventTouch, Label, Node, NodeEventType, Sprite, SpriteAtlas, Tween, tween, UIOpacity, Vec3, resources } from "cc";
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||
import { CardConfig, CardType } from "../common/config/CardSet";
|
||||
import { CardUseComp } from "./CardUseComp";
|
||||
import { HeroInfo } from "../common/config/heroSet";
|
||||
import { BuffsList, SkillSet } from "../common/config/SkillSet";
|
||||
|
||||
|
||||
|
||||
@@ -46,6 +48,7 @@ export class CardComp extends CCComp {
|
||||
private restPosition: Vec3 = new Vec3();
|
||||
private opacityComp: UIOpacity | null = null;
|
||||
private cardUseComp: CardUseComp | null = null;
|
||||
private iconVisualToken: number = 0;
|
||||
|
||||
onLoad() {
|
||||
/** 初始阶段只做UI状态准备,不触发业务逻辑 */
|
||||
@@ -86,7 +89,31 @@ export class CardComp extends CCComp {
|
||||
}
|
||||
|
||||
private updateIcon(node: Node, iconId: string) {
|
||||
|
||||
if (!node || !iconId) return;
|
||||
const sprite = node.getComponent(Sprite) || node.getComponentInChildren(Sprite);
|
||||
if (!sprite) return;
|
||||
if (this.uiconsAtlas) {
|
||||
const frame = this.uiconsAtlas.getSpriteFrame(iconId);
|
||||
if (frame) {
|
||||
sprite.spriteFrame = frame;
|
||||
} else {
|
||||
sprite.spriteFrame = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
resources.load("gui/uicons", SpriteAtlas, (err, atlas) => {
|
||||
if (err || !atlas) {
|
||||
mLogger.log(this.debugMode, "CardComp", "load uicons atlas failed", err);
|
||||
return;
|
||||
}
|
||||
this.uiconsAtlas = atlas;
|
||||
const frame = atlas.getSpriteFrame(iconId);
|
||||
if (frame) {
|
||||
sprite.spriteFrame = frame;
|
||||
} else {
|
||||
sprite.spriteFrame = null;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/** 兼容旧接口:按索引更新卡牌(当前由 MissionCardComp 顺序分发) */
|
||||
@@ -264,7 +291,7 @@ export class CardComp extends CCComp {
|
||||
}
|
||||
|
||||
/** 点击锁控件:切换锁态;空槽不允许锁定 */
|
||||
private onToggleLock(event?: Event) {
|
||||
private onToggleLock(event?: EventTouch) {
|
||||
if (!this.cardData) return;
|
||||
this.isLocked = !this.isLocked;
|
||||
this.updateLockUI();
|
||||
@@ -272,13 +299,16 @@ export class CardComp extends CCComp {
|
||||
uuid: this.card_uuid,
|
||||
locked: this.isLocked
|
||||
});
|
||||
event?.stopPropagation();
|
||||
const stopPropagation = (event as any)?.stopPropagation;
|
||||
if (typeof stopPropagation === "function") {
|
||||
stopPropagation.call(event);
|
||||
}
|
||||
}
|
||||
|
||||
/** 根据锁态刷新 Lock / unLock 显示 */
|
||||
/** 根据锁态刷新 Lock / unLock 显示(Lock=可点击上锁,unLock=可点击解锁) */
|
||||
private updateLockUI() {
|
||||
if (this.Lock) this.Lock.active = this.isLocked;
|
||||
if (this.unLock) this.unLock.active = !this.isLocked;
|
||||
if (this.Lock) this.Lock.active = !this.isLocked;
|
||||
if (this.unLock) this.unLock.active = this.isLocked;
|
||||
}
|
||||
|
||||
/** 根据当前 cardData 渲染卡面文字与图标 */
|
||||
@@ -287,13 +317,26 @@ export class CardComp extends CCComp {
|
||||
this.applyEmptyUI();
|
||||
return;
|
||||
}
|
||||
this.iconVisualToken += 1;
|
||||
if (this.opacityComp) this.opacityComp.opacity = 255;
|
||||
this.node.setPosition(this.restPosition);
|
||||
this.setLabel(this.name_node, `${CardType[this.card_type]}-${this.card_uuid}`);
|
||||
this.setLabel(this.cost_node, `${this.card_cost}`);
|
||||
if (this.ap_node) this.ap_node.active = false;
|
||||
if (this.hp_node) this.hp_node.active = false;
|
||||
this.updateIcon(this.icon_node, `${this.card_uuid}`);
|
||||
const iconNode = this.icon_node as Node;
|
||||
if (this.card_type === CardType.Hero) {
|
||||
this.updateHeroAnimation(iconNode, this.card_uuid, this.iconVisualToken);
|
||||
return;
|
||||
}
|
||||
this.clearIconAnimation(iconNode);
|
||||
const iconId = this.resolveCardIconId(this.card_type, this.card_uuid);
|
||||
if (iconId) {
|
||||
this.updateIcon(iconNode, iconId);
|
||||
} else {
|
||||
const sprite = iconNode?.getComponent(Sprite) || iconNode?.getComponentInChildren(Sprite);
|
||||
if (sprite) sprite.spriteFrame = null;
|
||||
}
|
||||
}
|
||||
|
||||
private playRefreshAnim() {
|
||||
@@ -337,11 +380,13 @@ export class CardComp extends CCComp {
|
||||
|
||||
/** 渲染空槽状态 */
|
||||
private applyEmptyUI() {
|
||||
this.iconVisualToken += 1;
|
||||
this.setLabel(this.name_node, "");
|
||||
this.setLabel(this.cost_node, "");
|
||||
if (this.ap_node) this.ap_node.active = false;
|
||||
if (this.hp_node) this.hp_node.active = false;
|
||||
const sprite = this.icon_node?.getComponent(Sprite);
|
||||
this.clearIconAnimation(this.icon_node as Node);
|
||||
const sprite = this.icon_node?.getComponent(Sprite) || this.icon_node?.getComponentInChildren(Sprite);
|
||||
if (sprite) sprite.spriteFrame = null;
|
||||
}
|
||||
|
||||
@@ -363,6 +408,54 @@ export class CardComp extends CCComp {
|
||||
return null;
|
||||
}
|
||||
|
||||
private resolveCardIconId(type: CardType, uuid: number): string {
|
||||
if (type === CardType.Skill) {
|
||||
return SkillSet[uuid]?.icon || `${uuid}`;
|
||||
}
|
||||
if (type === CardType.Buff || type === CardType.Debuff) {
|
||||
return BuffsList[uuid]?.icon || `${uuid}`;
|
||||
}
|
||||
if (type === CardType.Hero) {
|
||||
return HeroInfo[uuid]?.icon || `${uuid}`;
|
||||
}
|
||||
return `${uuid}`;
|
||||
}
|
||||
|
||||
private updateHeroAnimation(node: Node, uuid: number, token: number) {
|
||||
const sprite = node?.getComponent(Sprite) || node?.getComponentInChildren(Sprite);
|
||||
if (sprite) sprite.spriteFrame = null;
|
||||
const hero = HeroInfo[uuid];
|
||||
if (!hero) return;
|
||||
const anim = node.getComponent(Animation) || node.addComponent(Animation);
|
||||
this.clearAnimationClips(anim);
|
||||
const path = `game/heros/hero/${hero.path}/idle`;
|
||||
resources.load(path, AnimationClip, (err, clip) => {
|
||||
if (err || !clip) {
|
||||
mLogger.log(this.debugMode, "CardComp", `load hero animation failed ${uuid}`, err);
|
||||
return;
|
||||
}
|
||||
if (token !== this.iconVisualToken || !this.cardData || this.card_type !== CardType.Hero || this.card_uuid !== uuid) {
|
||||
return;
|
||||
}
|
||||
this.clearAnimationClips(anim);
|
||||
anim.addClip(clip);
|
||||
anim.play("idle");
|
||||
});
|
||||
}
|
||||
|
||||
private clearIconAnimation(node: Node) {
|
||||
const anim = node?.getComponent(Animation);
|
||||
if (!anim) return;
|
||||
anim.stop();
|
||||
this.clearAnimationClips(anim);
|
||||
}
|
||||
|
||||
private clearAnimationClips(anim: Animation) {
|
||||
const clips = (anim as any).clips as AnimationClip[] | undefined;
|
||||
if (!clips || clips.length === 0) return;
|
||||
[...clips].forEach(clip => anim.removeClip(clip, true));
|
||||
}
|
||||
|
||||
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||
reset() {
|
||||
this.node.destroy();
|
||||
|
||||
Reference in New Issue
Block a user