public void PopulateScrollView(string[] contentstoadd)
    {
        for (var i = 0; i < contentstoadd.Length; i++)
        {
            var button = buttonpool.spawnPrefabIntoWorld();
            button.transform.SetParent(_contentobject.transform);
            button.transform.GetChild(0).GetComponent <Text>().text = contentstoadd[i];
            int k = i;

            button.GetComponent <Button>().onClick.AddListener(() => { _methodadd_tobuttons(contentstoadd[k]); });
            buttonsused.Add(button);
        }
    }