From 226b824f644ca968a31d4c9c19c8bb67c58fb201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Rousseau?= <56814489+bhrousseau@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:18:03 +0100 Subject: [PATCH] Fixes typo on sources.md Replaced many AddSoruce by AddSource --- Docs/sources.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Docs/sources.md b/Docs/sources.md index 454bf65..91114ed 100644 --- a/Docs/sources.md +++ b/Docs/sources.md @@ -19,13 +19,13 @@ var configsDir = Path.Combine(Directory.GetCurrentDirectory(), "Configs"); Configs.AddSource(new FileSource(configsDir)); // load all files with the ".conf" extension from the given path. -Configs.AddSoruce(new FileSource(configsDir, "conf")) +Configs.AddSource(new FileSource(configsDir, "conf")) // load all files with either the ".yml" or ".yaml" extension from the given path. -Configs.AddSoruce(new FileSource(configsDir, new[]{"yml", "yaml"})) +Configs.AddSource(new FileSource(configsDir, new[]{"yml", "yaml"})) // same as above but also enable file hotloading (disabled by default) -Configs.AddSoruce(new FileSource(configsDir, new[]{"yml", "yaml"}, hotload:true)) +Configs.AddSource(new FileSource(configsDir, new[]{"yml", "yaml"}, hotload:true)) // ResourcesSource (Unity only)