/** @prop {name:rolePrefabs, tips:"英雄角色", type:Vector, xCount:1, sType:Prefab}*/
public rolePrefabs: Laya.Prefab[];
//TODO 报错
let role2 = Laya.Pool.getItemByCreateFun("role", this.rolePrefabs[0].create, this.rolePrefabs[0]);
附件:
BugReappear_Prefab.rar