示例#1
0
    private void AddPlayerRowToContainer(Player player, Transform container)
    {
        GameObject rowObject = Instantiate(playerRowPrefab, container);
        PlayerRow  row       = rowObject.GetComponent <PlayerRow>();

        row.SetNickname(player.NickName);
    }