Skip to content

TMPStep

ClassAssetInventoryAssetInventory.Editor
public sealed class TMPStep : ActionStep

Imports the selected TextMeshPro essential resources or examples into the open Unity project.

public TMPStep()

public static bool AreTMPEssentialsImported()

Reports whether the standard TextMeshPro essential resources folder exists in the open project.

Returns

System.Boolean

public static void ImportEssentials()

Imports essentials into the catalog or open Unity project using the configured collision and dependency rules.

public override Task Run(List<ParameterValue> parameters)

Imports the selected TextMeshPro essential resources or examples, failing when the TextMeshPro package is not installed.

Parameters

Name Type
parameters System.Collections.Generic.List{Automator.ParameterValue}

Returns

System.Threading.Tasks.Task

public static string GetPackageFullPath()

Returns the installed TextMeshPro package directory, or null when the package is unavailable.

Returns

System.String