Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Photon Plugin Not Receiving onActorPropertiesChange callback

$
0
0
I want to update property of an Actor and hoping to get a callback in client side onActorPropertiesChange methods, but i am not getting any callback.

Plugin Server code

Hashtable properties = new Hashtable();
properties.Add("hc", "ad");
host.SetProperties(actor.ActorNr, properties, null, false);

when i am setting broadcast to true, onActorPropertiesChange is getting called but its broadcasting to all the Actors in the Room.
I just want it to broadcast it to the actor whose property was changed thats why i am setting broadcast to false.

Viewing all articles
Browse latest Browse all 1557

Trending Articles