mask或者自定的image等类型属性无法设置,点击选择弹出框显示None,也无法拖放!
代码如下:
@regClass()
export class NewScript extends Laya.Script {
//declare owner : Laya.Sprite3D;
@property(String)
public text: string = "";
@property(Laya.Image)
public image: Laya.Image = null;
constructor() {
super();
}
}