public getComponentInfoByName ( string name ) : |
||
name | string | |
Результат |
public ComponentInfo getComponentInfoByName(string name)
{
for(int i = 0; i < componentInfoList.Count; ++i)
{
if (componentInfoList[i].componentName == name)
return componentInfoList[i];
}
return null;
}