The example code:
- Code: Select all
PlayerIO.Authenticate(
"[Enter your game id here]", //Your game id
"public", //Your connection id
new Dictionary<string, string> { //Authentication arguments
{ "userId", "MyUserName" },
},
new string[]() { "campaign:march10" } //PlayerInsight segments
delegate(Client client) {
//Success!
},
delegate(PlayerIOError error) {
//Error authenticating.
}
);
Should have the new string line changed to:
- Code: Select all
new string[] { "campaign:march10" }, //PlayerInsight segments