playMaker

Author Topic: Photon get Event Info  (Read 853 times)

edufurla

  • Junior Playmaker
  • **
  • Posts: 56
Photon get Event Info
« on: April 26, 2019, 06:33:47 AM »
I am studying Photon by seeing some very good videos in this link:

As I understand to send RPC data you need to convert all data to a string > join and > using the GetEventInfo action to retrieve the joined string > separate the string data and  > use it.
I notice an action in the Photon Package called PhotonViewRpcBroadcastFsmEventWithData where seems easy to add a lot of different types of data to the RPC Event without having to convert them to string, join or unjoin.

The problem is I have no idea how to retrieve the data as the action GetEventInfo only allows to get one of each type of data and I want to send/receive two vector3 and two strings.
Any tips?
« Last Edit: April 26, 2019, 08:14:42 AM by edufurla »