Function ggez::filesystem::read_config

source ·
pub fn read_config(ctx: &Context) -> GameResult<Conf>
👎Deprecated since 0.8.0: Use ctx.fs.read_config instead
Expand description

Looks for a file named /conf.toml in any resource directory and loads it if it finds it. If it can’t read it for some reason, returns an error.