Kit Documentation
Kit Documentation
Kit Reference
Kit
ResourceManager Class
ResourceManager Methods
SaveAsync Method
SaveAsync Method (String, Object)
SaveAsync Method (ResourceFolder, String, Object)
ResourceManager
SaveAsync Method (String, Object)
Save the contents of an object asynchronously to a file.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
UniTask
<
bool
>
SaveAsync
(
string
fullPath
,
Object
contents
)
Request Example
View Source
Parameters
fullPath
Type:
System
String
Absolute path to the file.
contents
Type:
System
Object
The object to save.
Return Value
Type:
UniTask
Boolean
Whether the file was successfully saved.
Remarks
A parser is chosen based on the type of the object to serialize it.
See Also
Reference
ResourceManager Class
SaveAsync Overload
Kit Namespace
Send comments on this topic to
agam@frag-games.com