Kit Documentation
Kit Documentation
Kit Reference
Kit.Modding Namespaces
Kit.Modding
ModManager Class
ModManager Methods
ReadTextAsync Method
ReadTextAsync Method (String)
ReadTextAsync Method (ResourceFolder, String)
ModManager
ReadTextAsync Method (ResourceFolder, String)
Read the contents of a file asynchronously in text-mode.
Namespace:
Kit.Modding
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
UniTask
<
string
>
ReadTextAsync
(
ResourceFolder
folder
,
string
file
)
Request Example
View Source
Parameters
folder
Type:
Kit
ResourceFolder
The folder to read the file from.
file
Type:
System
String
The path and file-name relative to the
folder
.
Return Value
Type:
UniTask
String
Contents of the file as a
String
.
See Also
Reference
ModManager Class
ReadTextAsync Overload
Kit.Modding Namespace
Send comments on this topic to
agam@frag-games.com