 | ResourceManagerSaveAsync Method (ResourceFolder, String, Object) |
Save the contents of an object asynchronously to a file.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static UniTask<bool> SaveAsync(
ResourceFolder folder,
string file,
Object contents
)
Request Example
View SourceParameters
- folder
- Type: KitResourceFolder
The folder where the file should exist. - file
- Type: SystemString
The path and file-name relative to the folder. - contents
- Type: SystemObject
The object to save.
Return Value
Type:
UniTaskBooleanWhether the file was successfully saved.
RemarksA parser is chosen based on the type of the object to serialize it.
See Also