Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Inventory Singleton Issue

$
0
0
Hello, I am new using Photon PUN 2 and i am facing to an issue. i am trying to implemente Inventory system My inventoryManager is singleton evething work well but when i drop an item on the ground if i pickup it with an other player this item is always put back in the inventory of the player who throw this item. i transfer ownership of the Object to the player who collier with but same thing, so maybe it's because my inventory is singleton but i don't understand how the gameobject can be placed back in the creator inventory because this inventory is not networked so there is 1 inventory Singleton on each client and each client have à knowledge about inventory singleton of other player If someone can help me pls :)

Viewing all articles
Browse latest Browse all 1557