PrefabServer
此内容尚不支持你的语言。
Defined in: prefabServer.ts:16
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PrefabServer(
world,getAssets):PrefabServer
Defined in: prefabServer.ts:23
Parameters
Section titled “Parameters”getAssets
Section titled “getAssets”() => Assets
Returns
Section titled “Returns”PrefabServer
Methods
Section titled “Methods”instantiate()
Section titled “instantiate()”instantiate(
pathOrAddress,options?):Promise<InstantiatePrefabResult>
Defined in: prefabServer.ts:28
Parameters
Section titled “Parameters”pathOrAddress
Section titled “pathOrAddress”string
options?
Section titled “options?”baseUrl?
Section titled “baseUrl?”string
overrides?
Section titled “overrides?”parent?
Section titled “parent?”number
Returns
Section titled “Returns”Promise<InstantiatePrefabResult>