void Update()
    {
        if (!isDisabaled && Input.GetKeyDown(binding))
        {
            switch (actiontype)
            {
            case ActionType.toggle:

                containerDisplay.SetWindowIsActive(!containerDisplay.IsWindowActive());

                break;

            case ActionType.open:
                containerDisplay.SetWindowIsActive(true);
                break;

            case ActionType.close:
                containerDisplay.SetWindowIsActive(false);
                break;

            default:
                break;
            }
        }
    }
    private void CheckIfDependantContainerIsActive()
    {
        if (dependentContainers.Count == 0)
        {
            return;
        }
        foreach (ContainerDisplay containerDisplay in dependentContainers)
        {
            if (containerDisplay == null)
            {
                continue;
            }

            if (containerDisplay.IsWindowActive())
            {
                myContainer.SetWindowIsActive(true);
                return;
            }
        }
        myContainer.SetWindowIsActive(false);
    }