public static void Setup(API api, string path = null, bool cache = true) { VehicleInfoLoader.Setup(Path.Combine(api.getResourceFolder(), path ?? $"vehicleInfo{Path.DirectorySeparatorChar}"), cache); }
public static void Setup(Script scriptEngine, string path = null, bool cache = true) { VehicleInfoLoader.Setup(Path.Combine(NAPI.Resource.GetResourceFolder(scriptEngine), path ?? $"vehicleInfo{Path.DirectorySeparatorChar}"), cache); }