cohtml.Editor.EditorUtils
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| string | StringifyPlatform(BuildTarget platform) |
| string | StringifyBackend(GraphicsDeviceType backend) |
| string | GetAppExtension(BuildTarget platform) |
| string | FindBrowserExecutablePath() |
| void | CopyFolder(string sourceFolder, string destinationFolder, params string [] fileExtensionsForExclude) |
| void | DeleteFolderRecursively(string directory, bool removeDirectoryMetaFile =true) |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| const string | AssetsDir The project’s root directory. |
| const string | SamplesDir The default sample directory where the UPM Samples are imported. |
| const string | UPMSamplesDir The Cohtml package sample folder. |
| const string | StreamingAssetsDir The Streaming Assets directory. The folder is inside the Assets folder. |
| const string | CohtmlDir The Cohtml directory name. It’s part of sample’s resources, assets or package directories. |
| const string | UIResourcesDir The directory where the front-end lies. |
| const string | SampleHubDir The Sample Hub directory. |
| const string | HelloSampleDir The Hello template directory. |
| const string | FrontendSamplesDir The directory where the front end uiresources folder will import. |
| const string | SceneExtension The scene extension |
| readonly string | ExcludeMetaFiles Represent a collection with exclude to copy files. |
Public Functions Documentation
Section titled “Public Functions Documentation”function StringifyPlatform
Section titled “function StringifyPlatform”static string StringifyPlatform( BuildTarget platform)function StringifyBackend
Section titled “function StringifyBackend”static string StringifyBackend( GraphicsDeviceType backend)function GetAppExtension
Section titled “function GetAppExtension”static string GetAppExtension( BuildTarget platform)function FindBrowserExecutablePath
Section titled “function FindBrowserExecutablePath”static string FindBrowserExecutablePath()function CopyFolder
Section titled “function CopyFolder”static void CopyFolder( string sourceFolder, string destinationFolder, params string [] fileExtensionsForExclude)function DeleteFolderRecursively
Section titled “function DeleteFolderRecursively”static void DeleteFolderRecursively( string directory, bool removeDirectoryMetaFile =true)Public Attributes Documentation
Section titled “Public Attributes Documentation”variable AssetsDir
Section titled “variable AssetsDir”const string AssetsDir = "Assets";The project’s root directory.
variable SamplesDir
Section titled “variable SamplesDir”const string SamplesDir = "Samples";The default sample directory where the UPM Samples are imported.
variable UPMSamplesDir
Section titled “variable UPMSamplesDir”const string UPMSamplesDir = SamplesDir + "~";The Cohtml package sample folder.
variable StreamingAssetsDir
Section titled “variable StreamingAssetsDir”const string StreamingAssetsDir = "StreamingAssets";The Streaming Assets directory. The folder is inside the Assets folder.
variable CohtmlDir
Section titled “variable CohtmlDir”const string CohtmlDir = "Cohtml";The Cohtml directory name. It’s part of sample’s resources, assets or package directories.
variable UIResourcesDir
Section titled “variable UIResourcesDir”const string UIResourcesDir = "UIResources";The directory where the front-end lies.
variable SampleHubDir
Section titled “variable SampleHubDir”const string SampleHubDir = "SampleHub";The Sample Hub directory.
variable HelloSampleDir
Section titled “variable HelloSampleDir”const string HelloSampleDir = "Hello";The Hello template directory.
variable FrontendSamplesDir
Section titled “variable FrontendSamplesDir”const string FrontendSamplesDir = "FrontendSamples";The directory where the front end uiresources folder will import.
variable SceneExtension
Section titled “variable SceneExtension”const string SceneExtension = ".unity";The scene extension
variable ExcludeMetaFiles
Section titled “variable ExcludeMetaFiles”static readonly string ExcludeMetaFiles = ".meta";Represent a collection with exclude to copy files.
© 2026 Coherent Labs. All rights reserved.