Class FileUtils
File system helpers for synchronous and coroutine-based IO.
Inherited Members
Namespace: AutoGroupGenerator
Assembly: Unity.AutoGroupGenerator.Editor.dll
Syntax
public static class FileUtils
Methods
| Name | Description |
|---|---|
| EnsureDirectoryExist(string) | Ensures the directory for the specified file path exists. |
| LoadFromFile(string) | Loads all text from a file. |
| LoadFromFileAsync<T>(string, Action<T>, int) | Loads JSON data from a file asynchronously as a coroutine. |
| SaveToFile(string, string) | Saves text to a file, creating directories as needed. |
| SaveToFileAsync(string, string, Action<bool>, int) | Saves text to a file asynchronously as a coroutine. |