Copy-paste fix pattern
library CB-AssetLoader
fn main() {
if (CB-AssetLoader.exists("assets/model.obj")) {
println(CB-AssetLoader.kind("assets/model.obj"))
}
}
ClosedBit Docs
ClosedBit error docs
File not found. A source, model, save, key, asset, or library file was missing.
A source, model, save, key, asset, or library file was missing.
Use a project-relative path and make sure the file is included in the input directory.
library CB-AssetLoader
fn main() {
if (CB-AssetLoader.exists("assets/model.obj")) {
println(CB-AssetLoader.kind("assets/model.obj"))
}
}