public static hasModuleEngineConfigs ( Part part ) : bool | ||
part | Part | |
return | bool |
public static bool hasModuleEngineConfigs(Part part)
{
Type type = Type.GetType("RealFuels.ModuleEngineConfigs,RealFuels");
PartModule module = null;
if (type != null)
{
module = (PartModule)part.GetComponent(type);
}
return module != null;
}