Skip to content

ChartFileSourceResolver

ClassChartGuruChartGuru
public static class ChartFileSourceResolver

Helper 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.

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.

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.

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.