mirror of
https://github.com/cheney2013/UIState.git
synced 2025-06-30 13:24:39 +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";
|
|
} |