cohtml.CohtmlSamplesImporter.Sample
Public Properties
Name | |
---|---|
bool | IsFrontEndOnly |
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
Name | |
---|---|
string | name |
string | link |
string | ImportUIResourcesPath Get the UIResources folder path inside the sample folder. |
string | StreamingAssetsUIResourcesPath 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;
variable link
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.