You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for version 0.14.5 here instructs client developers to connect to server using this command:
ExampleManager.Instance.ConnectToServer();
The usage of the public Instance field implies this command is meant to to called outside of ColyseusManager. But since ColyseusManager.ConnectToServer is a protected method, this is impossible to do. Please either amend the documentation or treat this as a bug.
The text was updated successfully, but these errors were encountered:
tonygiang
changed the title
Colyseus 0.14.5: ColyseusManager.ConnectToServer is a protected method, contrary to documentation
Colyseus 0.14.5: ColyseusManager.ConnectToServer is a protected method, contrary to documentation's instruction
May 10, 2021
tonygiang
changed the title
Colyseus 0.14.5: ColyseusManager.ConnectToServer is a protected method, contrary to documentation's instruction
0.14.5 Client: ColyseusManager.ConnectToServer is a protected method, contrary to documentation's instruction
May 10, 2021
Fix to community report: colyseus/colyseus-unity-sdk#147
ConnectToServer is a protected method and therefore cannot be call outside of ExampleManager (or the user's child class)
The documentation for version 0.14.5 here instructs client developers to connect to server using this command:
ExampleManager.Instance.ConnectToServer();
The usage of the public
Instance
field implies this command is meant to to called outside ofColyseusManager
. But sinceColyseusManager.ConnectToServer
is aprotected
method, this is impossible to do. Please either amend the documentation or treat this as a bug.The text was updated successfully, but these errors were encountered: