feat(技能提示): 添加MP恢复提示功能

添加MP恢复提示类型到TooltipTypes枚举
在TooltipCom组件中实现MP恢复提示的显示逻辑
更新tooltip.prefab结构以支持MP恢复提示
移除未使用的tooltip.prefab.meta文件
移除英雄prefab中的tooltip 说话节点
This commit is contained in:
panw
2025-11-26 10:07:21 +08:00
parent b965c88961
commit 9c33bb0f7b
17 changed files with 692 additions and 2461 deletions

View File

@@ -29,31 +29,28 @@
},
{
"__id__": 37
},
{
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 55
"__id__": 46
},
{
"__id__": 57
"__id__": 48
},
{
"__id__": 59
"__id__": 50
},
{
"__id__": 61
"__id__": 52
},
{
"__id__": 63
"__id__": 54
}
],
"_prefab": {
"__id__": 65
"__id__": 56
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -674,10 +671,10 @@
"__id__": 37
},
"asset": {
"__uuid__": "5b4ca49e-0f12-4478-b56d-bf8198b36b90",
"__uuid__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338",
"__expectedType__": "cc.Prefab"
},
"fileId": "0d6ZXmA5dHkZxoGONDL2sE",
"fileId": "91yoyAQGNDm5ziI7NUChZ+",
"instance": {
"__id__": 39
},
@@ -685,7 +682,7 @@
},
{
"__type__": "cc.PrefabInstance",
"fileId": "fe79INE+JI1Jy2Hu0iKLMn",
"fileId": "08n1IzuupL3YNn2/tFvc8M",
"prefabRootNode": {
"__id__": 1
},
@@ -718,131 +715,6 @@
"propertyPath": [
"_name"
],
"value": "tooltip"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"0d6ZXmA5dHkZxoGONDL2sE"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 41
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 4.65,
"y": 129.718,
"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__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338",
"__expectedType__": "cc.Prefab"
},
"fileId": "91yoyAQGNDm5ziI7NUChZ+",
"instance": {
"__id__": 48
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "08n1IzuupL3YNn2/tFvc8M",
"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"
},
{
@@ -854,7 +726,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 41
},
"propertyPath": [
"_lpos"
@@ -869,7 +741,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 41
},
"propertyPath": [
"_lrot"
@@ -885,7 +757,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 41
},
"propertyPath": [
"_euler"
@@ -900,7 +772,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 50
"__id__": 41
},
"propertyPath": [
"_active"
@@ -917,7 +789,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 56
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
@@ -945,7 +817,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 58
"__id__": 49
},
"anm": {
"__id__": 5
@@ -960,12 +832,13 @@
"__type__": "873f8d+SolMEo8DiTTxZRh4",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 60
"__id__": 51
},
"_id": ""
},
@@ -983,7 +856,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 62
"__id__": 53
},
"enabledContactListener": true,
"bullet": false,
@@ -1017,7 +890,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 64
"__id__": 55
},
"tag": 0,
"_group": 4,
@@ -1053,9 +926,6 @@
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 46
},
{
"__id__": 37
},