Join event actor properties?

edited February 2011 in Photon Server
I am using Unity. I modified the LiteGame example in Peer:

public void Join()
lock (this)
this.peer.OpJoin(this.gameID, null, new Hashtable { { (byte)100, "Oneiro" } }, true);

How do I retrieve the "Oneiro" value from the Join event? In EventAction, I tried:

Hashtable properties = (Hashtable)photonEvent[(byte)LiteEventKey.Properties];

but 'properties' var is null. At this line, I get: NullReferenceException: Object reference not set to an instance of an object

What am I doing wrong?
Sign In or Register to comment.