kbUnitCostPerResource¶ 1. Description¶ Signature of kbUnitCostPerResource 1float kbUnitCostPerResource(int protoUnitID, int resourceTypeID); This function returns the cost of the protounit for the given resource type. 2. Example¶ This section is a work in progress.