How to use the photon when enter a area show the object?

I been making a multiplayer card game, i using when mouse click on the object, the object will setparent and follow to the mouse until release. If the player release the card on a area that set, the card will be setparent to that area and place on it where the mouse release. problem is idk how to use photon to do when the card enter the area show the card to other player.

Answers

  • Add photon view to every card, and then add photon transform to it and give the reference to photon view of individual photon view , after that if you move card to 1 place to another it will reflect to other connect PC as well and when you reach your area send an RPC call , which will give you the result to other connected Pcs.
    ps : this is my way to handle things in Photon