ive got this error: PhotonView with ID 5001 has no method "EquipItemShared" that takes 1 argument(s): String
That is my script:
It happends when I press the equip button as you see.
asked Jun 08, 2013 at 06:08 PM
RPC is a method you call from a network view, not a script.
You need to attach a network view component to the game object containing the script.
Have a look at the documentation.
Your target needs a network view too, with this script attached too (it needs to know the "EquipItemShared" method too).
answered Jun 09, 2013 at 08:17 AM
try PhotonPlayer targetPlayer instead of PhotonTargets target. i don't know but I used this in mine and it works.
answered Jun 02 at 08:58 AM