コード例 #1
0
        bool IsActive(DebugUI.Table table, int index, GameObject child)
        {
            if (!table.GetColumnVisibility(index))
            {
                return(false);
            }

            var valueChild = child.transform.Find("Value");

            if (valueChild != null && valueChild.TryGetComponent <Text>(out var text))
            {
                return(!string.IsNullOrEmpty(text.text));
            }

            return(true);
        }