refactor(tooltip): 优化提示系统使用对象池并改进动画效果

重构提示系统,引入对象池管理节点提升性能,改进动画效果包括缩放、位移和淡出,调整提示位置和层级防止重叠,修复父节点翻转时的显示问题
This commit is contained in:
walkpan
2026-01-02 17:27:53 +08:00
parent ebd67472c7
commit c40414173d
5 changed files with 266 additions and 212 deletions

View File

@@ -115,7 +115,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 100,
"y": 0,
"z": 0
},
"_lrot": {
@@ -574,7 +574,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 100,
"y": 0,
"z": 0
},
"_lrot": {
@@ -1033,7 +1033,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 100,
"y": 0,
"z": 0
},
"_lrot": {
@@ -1676,7 +1676,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -37,
"y": 20,
"z": 0
},
"_lrot": {
@@ -1969,7 +1969,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 20,
"z": 0
},
"_lrot": {
@@ -2867,7 +2867,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 20,
"y": 0,
"z": 0
},
"_lrot": {
@@ -3257,7 +3257,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 100,
"y": 0,
"z": 0
},
"_lrot": {
@@ -3745,7 +3745,7 @@
"node": {
"__id__": 1
},
"_enabled": true,
"_enabled": false,
"__prefab": {
"__id__": 151
},