frax
Junior vMember
Posts: 27
|
Post by frax on Oct 21, 2017 10:35:02 GMT
1. How Inventory (Clone) set parents vThirdPersonShooter Instance?
2. Or how to make the inventory is not a clone. So he was always in the scene
|
|
|
Post by sickscore on Oct 21, 2017 11:25:28 GMT
1. How Inventory (Clone) set parents vThirdPersonShooter Instance? 2. Or how to make the inventory is not a clone. So he was always in the scene Not sure if I understand you correct... The controller looks for an existing inventory before it instantiates the inventory prefab (clone). So you could just drag the inventory prefab into the scene.
|
|
frax
Junior vMember
Posts: 27
|
Post by frax on Oct 21, 2017 12:12:21 GMT
1. How Inventory (Clone) set parents vThirdPersonShooter Instance? 2. Or how to make the inventory is not a clone. So he was always in the scene Not sure if I understand you correct... The controller looks for an existing inventory before it instantiates the inventory prefab (clone). So you could just drag the inventory prefab into the scene. lol, yes you right. there is always a simple way and how to make "ItemSlot(Clone)" not to be Clone?
|
|
|
Post by sickscore on Oct 21, 2017 12:33:30 GMT
That's not possible, because your inventory will grow as soon as you pickup new items. It can't know, how many items there will be in total. But why do you need all of this? It's nothing wrong with having an instance of the inventory/slots. Just wondering
|
|
frax
Junior vMember
Posts: 27
|
Post by frax on Oct 21, 2017 12:36:16 GMT
That's not possible, because your inventory will grow as soon as you pickup new items. It can't know, how many items there will be in total. But why do you need all of this? It's nothing wrong with having an instance of the inventory/slots. Just wondering I want save player with inventory item after reload scene
|
|
|
Post by sickscore on Oct 21, 2017 12:47:51 GMT
|
|