mirror of
https://github.com/cheney2013/UIState.git
synced 2024-12-26 11:49:05 +00:00
9 lines
180 B
TypeScript
9 lines
180 B
TypeScript
|
import { Label, _decorator } from "cc";
|
||
|
|
||
|
const { ccclass, property } = _decorator;
|
||
|
|
||
|
@ccclass
|
||
|
export class CustomLabel extends Label{
|
||
|
@property
|
||
|
customProp:string = "test";
|
||
|
}
|