static void SetPersistContainerVisibility(CoppaCompliance coppaCompliance, VisualElement persistContainer, PopupField <String> coppaField) { persistContainer.style.display = coppaField.GetValueToDisplay() != GetFieldValueForCompliancy(coppaCompliance.ToCOPPACompliance()) ? DisplayStyle.Flex : DisplayStyle.None; }
static void SetCoppaFieldValue(CoppaCompliance coppaCompliance, PopupField <String> coppaField) { coppaField.SetValueWithoutNotify(GetFieldValueForCompliancy(coppaCompliance.ToCOPPACompliance())); }