Пример #1
0
 static void SetPersistContainerVisibility(CoppaCompliance coppaCompliance, VisualElement persistContainer, PopupField <String> coppaField)
 {
     persistContainer.style.display = coppaField.GetValueToDisplay() != GetFieldValueForCompliancy(coppaCompliance.ToCOPPACompliance())
         ? DisplayStyle.Flex
         : DisplayStyle.None;
 }
Пример #2
0
 static void SetCoppaFieldValue(CoppaCompliance coppaCompliance, PopupField <String> coppaField)
 {
     coppaField.SetValueWithoutNotify(GetFieldValueForCompliancy(coppaCompliance.ToCOPPACompliance()));
 }