[LayaAir 2.0]Pool 使用 Laya.Prefab

public targetBox:Laya.Prefab;

let box: Laya.Sprite = Laya.Pool.getItemByCreateFun("ItemBox", this._control.targetBox.create, this._control.targetBox);
运行报错: Cannot read property 'create' of undefined
targetBox又在 control里面引用一个Prefab
已邀请:

176*****376

赞同来自:

Prefab有挂载Ts 在使用 Pool 的时候需要注意些什么、

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作