ResourceTypeFormat Method (Int32) |
Namespace: KSPDev.GUIUtils.TypeFormatters
public static string Format( int resourceId )
Debug.Log(ResourceType.Format(StockResourceNames.ElectricCharge)); // Prints: "Resource is: Electric Charge" Debug.Log(ResourceType.Format(PartResourceLibrary.ElectricityHashcode)); // Prints: "Resource is: Electric Charge"