private PartResource GetResource(string res) { PartResourceList resourceList = part.Resources; return(resourceList.Get(res)); }
public static PartResource getResource(Part part, string name) { PartResourceList resourceList = part.Resources; return(resourceList.Get(name)); }