private void UpdateActions()
    {
        int countDifference = actionsParent.childCount - characterData.availableActions.Count;

        if (countDifference > 0)
        {
            for (int i = actionsParent.childCount - 1; i >= actionsParent.childCount - countDifference; i--)
            {
                Destroy(actionsParent.GetChild(i).gameObject);
            }
            countDifference = 0;
        }
        if (countDifference < 0)
        {
            countDifference *= -1;
        }

        for (int i = 0; i < countDifference; i++)
        {
            Instantiate(actionsPrefab, actionsParent);
        }

        for (int i = 0; i < characterData.availableActions.Count; i++)
        {
            SimpleContentPanel p = actionsParent.GetChild(i).GetComponent <SimpleContentPanel>();
            p.SetContent(characterData.availableActions[i], "");
        }
    }
    void AddFinal()
    {
        SimpleContentPanel final = Instantiate(finalPanelPrefab, scrollContentParent).GetComponent <SimpleContentPanel>();

        final.SetContent("START", planInfo.iterations[planInfo.iterations.Count - 1].chosenNode);
    }
    void AddGoal()
    {
        SimpleContentPanel goal = Instantiate(goalPanelPrefab, scrollContentParent).GetComponent <SimpleContentPanel>();

        goal.SetContent("GOAL", planInfo.goalInfo);
    }