Serializable Data on Server Size

i am using sdk photon server , And i want to send data from Server to Clients like it:
public class UserInfo: System.Object {

[SerializeField] protected int _id;
[SerializeField] protected string _name;
[SerializeField] protected int _level;

public UserInfo(int id;, string name;, int level;) {
this._id = id;
this._name= name;
this._level = level;
}
So, i tried some ways, but incomplete :( .

Comments

Sign In or Register to comment.