Notification in VStudio: "PhotonPeer is obsolete"
Options
Hello,
Anyone knows what is this notification I see when creating a new instance of PhotonPeer: http://i45.tinypic.com/2wq8gtf.jpg ?
Anything I should bother about in future or no?
Thanks
Anyone knows what is this notification I see when creating a new instance of PhotonPeer: http://i45.tinypic.com/2wq8gtf.jpg ?
Anything I should bother about in future or no?
Thanks
0
Comments
-
Actually the warning message is clear if you read carefully. That constructor is obsolete and may not be in next versions of the Photon you should use same constructor with ConnectionProtocol property. Your constructor should be like this;
var peer = new PhotonPeer(listener, ConnectionProtocol.Udp);
0 -
Oh.. I'm sorry for my stupidity, still learning things.
Thanks a lot !0 -
Thanks, Herhangi. Good catch0