Pun Pickup Item Script

Justin

Administrator
Staff member
The Item Pickup component should be placed on the item model within the scene. In the PUN demo scene the third room has an example of the Item Pickups.
 
  • Like
Reactions: MPT

MPT

New member
If I have a shop right. How do I put the itemtypes into the default loadout? Through scripting, what scripts should i edit?
 

Justin

Administrator
Staff member
The Inventory component has a Default Loadout property that you can access via your own script. You'll need to make sure you modify this property within Awake as it gets called within Start.
 
  • Like
Reactions: MPT
Top