Click or drag to resize

ResourceManagerSaveAsync 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#
public static UniTask<bool> SaveAsync(
	string fullPath,
	Object contents
)
Request Example View Source

Parameters

fullPath
Type: SystemString
Absolute path to the file.
contents
Type: SystemObject
The object to save.

Return Value

Type: UniTaskBoolean
Whether the file was successfully saved.
Remarks
A parser is chosen based on the type of the object to serialize it.
See Also