private void CreateExperimentSection(IExperimentSection section)
        {
            GameObject sectionObject = Instantiate(ExperimentSectionPrefab);

            if (sectionObject == null)
            {
                return;
            }

            sectionObject.transform.SetParent(ExperimentSectionTransform, false);

            SEP_ExperimentSection experiment = sectionObject.GetComponent <SEP_ExperimentSection>();

            if (experiment == null)
            {
                return;
            }

            experiment.setExperiment(section, this);

            if (Minimize != null)
            {
                experiment.toggleVisibility(Minimize.isOn);
            }
            else
            {
                experiment.toggleVisibility(true);
            }

            experiments.Add(experiment);
        }
        public void setExperimentVisibility(bool on)
        {
            for (int i = experiments.Count - 1; i >= 0; i--)
            {
                SEP_ExperimentSection experiment = experiments[i];

                if (experiment == null)
                {
                    return;
                }

                experiment.toggleVisibility(on);
            }
        }