Skip to content

Callback in Unity not working #256

Discussion options

You must be logged in to vote

Hi. Ar you sure ual.users[0]?.accountName returns an actual string? Because it it returns undefined due to the optional chaining, the module handles it as if there was no parameter which means public void Server_Response_LoginData() would be invoked rather than public void Server_Response_LoginData(string account) with a string parameter.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@jeffreylanters
Comment options

@dharry1968
Comment options

@jeffreylanters
Comment options

@dharry1968
Comment options

@jeffreylanters
Comment options

Answer selected by dharry1968
Comment options

You must be logged in to vote
1 reply
@dharry1968
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants