[0]升级到3.0-beta6无法选择资源了
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();
}
}
代码如下:
@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();
}
}
没有找到相关结果
已邀请:
4 个回复
layabox
赞同来自:
第二、通过你的描述,以及我们自己的测试判断,大概率是你自己的使用问题。如果不是,请以后提交代码的时候,提交工程demo,不要只复制代码,很多时候,也不排除你的项目工程出现问题。并不一定是代码问题,只提交代码对问题的排查作用有限。
小高
赞同来自:
小高
赞同来自:
小高
赞同来自: