UnityEngine.PlaymodeTestsRunner.TestRunnerFilter.NameMatches C# (CSharp) Метод

NameMatches() приватный Метод

private NameMatches ( string name ) : bool
name string
Результат bool
        private bool NameMatches(string name)
        {
            if ((this.names == null) || (this.names.Length == 0))
            {
                return true;
            }
            foreach (string str in this.names)
            {
                if (name.Contains(str))
                {
                    return true;
                }
            }
            return false;
        }
    }