2 problems with photon (RPC, destroying not mine object)

Options
Hello,
I have two problems with photon network.

1. EDIT: SOLVED

2. How client, who didn't instantiate object can destroy it when touch it by trigger?


I'm very thankful for every answer

Comments

  • donnysobonny
    Options
    As part of the PhotonView.RPC method, you are able to select the PhotonTargets (which players should receive the RPC). If you use PhotonTargets.Other, this will send the RPC to the clients that do not own the object.
  • vadim
    Options
    Hi,

    2. Only object owner can destroy object. Client should send RPC to the owner asking to do so.