[add] Engine

This commit is contained in:
2022-08-26 16:48:17 +08:00
parent f67e566f2a
commit d9c19f096c
197 changed files with 10626 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const {ccclass, property} = cc._decorator;
@ccclass
export class LabelOtherSetting extends cc.Component {
@property
public bold:boolean = false;
@property
public underline:boolean = false;
onEnable(){
(<any>this.getComponent(cc.Label))._enableBold(this.bold);
(<any>this.getComponent(cc.Label))._enableUnderline(this.underline);
}
}

View File

@@ -0,0 +1,10 @@
{
"ver": "1.1.0",
"uuid": "8444b16e-19e2-45f3-b155-0bbde521118f",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}