Spawn Items
VaultInventory.SpawnWorldItem(item, position, stackSize);That's all there is to it!
Requirements
VaultRuntimescript is in the current scene. This sets the reference fields for the staticVaultInventory.Runtime Item Template prefab is set inside
VaultRuntime.Runtime Item Template prefab has a configured
RuntimeItemProxyscript on it.
Feel free to create overrides for the RuntimeItemProxy script to control how your items spawn.
Last updated
Was this helpful?