import { _decorator , Component , Label } from "cc" ; const { ccclass , property } = _decorator ; @ ccclass ( "DemoModule" ) export default class NewClass extends Component { @ property ( Label ) label : Label | null = null ; @ property text : string = "hello" ; start ( ) { } } /**
 * 注意：已把原脚本注释，由于脚本变动过大，转换的时候可能有遗落，需要自行手动转换
 */