bool IGourdUI.UIViewIsValidForDevice(UIViewConfigData viewData, AppDeviceData deviceData) { return(UIViewFilterResolver.ViewFilterResult( viewData.filterData.positiveFilters.ToArray(), viewData.filterData.negativeFilters.ToArray(), deviceData)); }
/// <summary> /// Cycles through filter components in this view and evaluates /// </summary> /// <param name="deviceData"></param> private void FilterComponents(AppDeviceData deviceData) { foreach (var c in _filterComponents) { c.gameObject.SetActive( UIViewFilterResolver.ViewFilterResult( c.filterData.positiveFilters.ToArray(), c.filterData.negativeFilters.ToArray(), deviceData)); } }