private void updateView(IQuickMenuInteractionCollection collection)
    {
        interactions = collection.interactions;

        clearIcons();



        if (buttons == null)
        {
            buttons = new List <UITextButton>();
        }

        foreach (QuickMenuInteraction interaction in interactions)
        {
            UITextButton quickMenuIcon = createQuickMenuItem(interaction);
            quickMenuIcon.transform.SetParent(iconParent, false);
            buttons.Add(quickMenuIcon);
        }

        for (int i = 0; i < buttons.Count; i++)
        {
            buttons[i].neighborTop    = buttons[NeverdawnUtility.RepeatIndex(i - 1, buttons.Count)];
            buttons[i].neighborBottom = buttons[NeverdawnUtility.RepeatIndex(i + 1, buttons.Count)];
        }



        icon.sprite          = collection.icon;
        textLabel.text       = collection.label;
        textDescription.text = collection.description;
    }
 public void SetInteractionCollection(IQuickMenuInteractionCollection collection)
 {
     this.collection = collection;
 }