mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +01:00
clarify which file types can be loaded in the docs
This commit is contained in:
parent
3b382a46cf
commit
df5a654500
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ By default, the raw content manager supports the following types, as long as the
|
|||
- `SoundEffect` (ogg, wav, mp3)
|
||||
- `Song` (gg, wav, mp3)
|
||||
- Any XML files (xml)
|
||||
- Any JSON files (json)
|
||||
- Any JSON files (json, json5, jsonc)
|
||||
|
||||
To add more content types that can be loaded by the raw content manager, you simply have to extend either `RawContentReader` or the generic version, `RawContentReader<T>`. For example, this is a content reader that loads a `txt` file as a string:
|
||||
```cs
|
||||
|
|
Loading…
Reference in a new issue