ChartFileSourceResolver
public static class ChartFileSourceResolverHelper used by ChartGuru.CsvChartDataSource and ChartGuru.JsonChartDataSource to resolve the configured source mode/path to raw text. Centralizing this keeps both inspectors consistent and avoids duplicated I/O code.
Methods
Section titled “Methods”
ReadText(ChartFileSourceMode, TextAsset, string, string, string, string)
Section titled “ReadText(ChartFileSourceMode, TextAsset, string, string, string, string)”public static string ReadText(ChartFileSourceMode mode, TextAsset textAsset, string projectPath, string absolutePath, string streamingAssetsPath, string inlineText)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
mode |
ChartGuru.ChartFileSourceMode | |
textAsset |
UnityEngine.TextAsset | |
projectPath |
System.String | |
absolutePath |
System.String | |
streamingAssetsPath |
System.String | |
inlineText |
System.String |
Returns
System.String — No return description is available.
ResolveProjectPath(string)
Section titled “ResolveProjectPath(string)”public static string ResolveProjectPath(string relativePath)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
relativePath |
System.String |
Returns
System.String — No return description is available.
ResolveStreamingPath(string)
Section titled “ResolveStreamingPath(string)”public static string ResolveStreamingPath(string relativePath)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
relativePath |
System.String |
Returns
System.String — No return description is available.