Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tempDictionary = "(PlayerName=" + PlayerName.text.ToString () + ")(PlayerAvatar=" + PlayerData.PlayerAvatar.ToString () + ")(PlayerScore=0)";
- string[] t = tempDictionary.Split (new[] { '(', ')' }, System.StringSplitOptions.RemoveEmptyEntries);
- PlayerData.playerData.userList =
- t.Select (item => item.Split ('=')).ToDictionary (s => s [0], s => s [1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement