Commit d3f4d378 authored by Tt's avatar Tt

调整为char

parent 760f1475
......@@ -351,6 +351,7 @@ let pg = {
if (!node) return;
let component = node.getComponent(cc.Label);//组件功能 非node的功能
component.string = text;
component.cacheMode = cc.Label.CacheMode.CHAR;
return true;
},
//更变颜色
......
......@@ -4,5 +4,6 @@
"name": "play",
"id": "9af72fd2-44a6-4131-8ea3-3e1b3fa22231",
"version": "2.4.5",
"isNew": false
"isNew": false,
"description": ""
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment