cohtml.Editor.CohtmlSamplesImporter.Sample
Public Properties
Section titled “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
Section titled “Public Attributes”| Name | |
|---|---|
| string | name |
| string | link |
| string | RawLink |
| 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
Section titled “Public Property Documentation”property IsFrontEndOnly
Section titled “property IsFrontEndOnly”bool IsFrontEndOnly;property Path
Section titled “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
Section titled “Public Attributes Documentation”variable name
Section titled “variable name”string name;variable link
Section titled “variable link”string link;variable RawLink
Section titled “variable RawLink”string RawLink;variable ImportUIResourcesPath
Section titled “variable ImportUIResourcesPath”string ImportUIResourcesPath => Utils.CombinePaths(Path, EditorUtils.UIResourcesDir);Get the UIResources folder path inside the sample folder.
variable StreamingAssetsUIResourcesPath
Section titled “variable StreamingAssetsUIResourcesPath”string StreamingAssetsUIResourcesPath => Utils.CombinePaths(EditorUtils.AssetsDir, StreamingAssetsSampleDir, link);Get the location where the samples UI Resources can be pasted.
© 2026 Coherent Labs. All rights reserved.