private void CreatePlayerElement(string friend) { LeaderboardGUI player = GameObject.Instantiate <LeaderboardGUI>(this.player); player.Set(friend, parent, Sort); players.Add(player); }
public static void RecordScore(string leaderboardId, string name, int score, Action <bool> callback) { LeaderboardGUI.RunRoutine(DoRequest(leaderboardId, name, score, callback)); }
void Awake() { instance = this; }