cohtml.CohtmlSamplesImporter.Sample

Public Properties

Name
boolIsFrontEndOnly
stringPath
The path to the root folder of the sample. This can either be the imported path or the package path, depending on whether the sample includes only front-end files.

Public Attributes

Name
stringname
stringlink
stringImportUIResourcesPath
Get the UIResources folder path inside the sample folder.
stringStreamingAssetsUIResourcesPath
Get the location where the samples UI Resources can be pasted.

Public Property Documentation

property IsFrontEndOnly

bool IsFrontEndOnly;

property Path

string Path;

The path to the root folder of the sample. This can either be the imported path or the package path, depending on whether the sample includes only front-end files.

Public Attributes Documentation

variable name

string name;
string link;

variable ImportUIResourcesPath

string ImportUIResourcesPath => Utils.CombinePaths(Path, EditorUtils.UIResourcesDir);

Get the UIResources folder path inside the sample folder.

variable StreamingAssetsUIResourcesPath

string StreamingAssetsUIResourcesPath => Utils.CombinePaths(EditorUtils.AssetsDir, StreamingAssetsSampleDir, link);

Get the location where the samples UI Resources can be pasted.