playMaker

Author Topic: Photon RaiseEvent action  (Read 622 times)

Six66

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Photon RaiseEvent action
« on: July 24, 2019, 07:56:30 AM »
Hi, I'm looking for Photon RaiseEvent, i feel like its there, but not im bot sure which one isit.

I'd like to use raiseevent instead of rpc.

Can someone point me to it? Thank you.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15205
  • Official Playmaker Support
    • View Profile
Re: Photon RaiseEvent action
« Reply #1 on: July 24, 2019, 10:38:57 PM »
Hi,

 I haven't ported the raiseevent yet, because it's an advanced feature, and the Port to PlayMaker was aimed at developers with very little experience on Unity/photon/PlayMaker so I took the path of embracing pun as is, which doesn't promote raisevent ( while raiseevent is used internally for everything of course).

 If you want to use RaiseEvent and none of Pun features, then you are better off using the realtime sdk.

Are you using pun classic or pun 2?

I'd like to finish porting pun 2 ( I need to do rooms list, friends list for example), and then I'll tackle raise event, ok?

Bye,

 Jean

Six66

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Photon RaiseEvent action
« Reply #2 on: July 25, 2019, 08:38:23 AM »
Sounds great, i was just curious because i read that is was better then sending lots of rpc  to sync lots of game object"zombies"


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15205
  • Official Playmaker Support
    • View Profile
Re: Photon RaiseEvent action
« Reply #3 on: July 25, 2019, 10:59:06 PM »
Hi,

It depends how to send you rpc, because eventually, an RPC is using raiseEvent internally.

Bye,

 Jean