Photonview and RPC

Options
Hello,

Does a gameobject need to have a Photonview to receive RPC events?

Thanks,
jrDev

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @jrDev,

    Yes, you need a PhotonView for RPCs.
    If you want to send an event without PhotonView use RaiseEvent.
    Read about all this here.
  • jrDev
    jrDev
    edited October 2019
    Options
    JohnTube said:

    Hi @jrDev,

    Yes, you need a PhotonView for RPCs.
    If you want to send an event without PhotonView use RaiseEvent.
    Read about all this here.

    Hello,

    Thanks.

    Which gameobject needs the Photonview attached? The sender or receiver? Or both?

    Thanks,
    jrDev