UnityEditor.HeapshotReader.GetObjectsOfType C# (CSharp) Method

GetObjectsOfType() public method

public GetObjectsOfType ( string name ) : List
name string
return List
        public List<ObjectInfo> GetObjectsOfType(string name)
        {
            List<ObjectInfo> list = new List<ObjectInfo>();
            foreach (ObjectInfo info in this.allObjects)
            {
                if (info.typeInfo.name == name)
                {
                    list.Add(info);
                }
            }
            return list;
        }