TMPStep
public sealed class TMPStep : ActionStepImports the selected TextMeshPro essential resources or examples into the open Unity project.
Constructors
Section titled “Constructors”
TMPStep()
Section titled “TMPStep()”public TMPStep()Methods
Section titled “Methods”
AreTMPEssentialsImported()
Section titled “AreTMPEssentialsImported()”public static bool AreTMPEssentialsImported()Reports whether the standard TextMeshPro essential resources folder exists in the open project.
Returns
System.Boolean
ImportEssentials()
Section titled “ImportEssentials()”public static void ImportEssentials()Imports essentials into the catalog or open Unity project using the configured collision and dependency rules.
Run(List)
Section titled “Run(List)”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
GetPackageFullPath()
Section titled “GetPackageFullPath()”public static string GetPackageFullPath()Returns the installed TextMeshPro package directory, or null when the package is unavailable.
Returns
System.String