private GetLocalActorProperties ( ) : ExitGames.Client.Photon.Hashtable | ||
return | ExitGames.Client.Photon.Hashtable |
private Hashtable GetLocalActorProperties()
{
if (PhotonNetwork.player != null)
{
return PhotonNetwork.player.allProperties;
}
Hashtable actorProperties = new Hashtable();
actorProperties[ActorProperties.PlayerName] = this.PlayerName;
return actorProperties;
}