public void Add(InitialCondition initialCondition) { GameObject instance = Instantiate(conditionPrefab, conditionInstanceParent); instance.SetActive(true); ConditionView conditionView = instance.GetComponent <ConditionView>(); conditionViews.Add(conditionView); conditionView.Initialize(initialCondition); }