TextMeshPro - Input Field Calculate Layout Input Vertical#
UI / Interaction / TextMeshPro - Input Field / TextMeshPro - Input Field Calculate Layout Input Vertical
Description#
Executes the Calculate Layout Input Vertical method on the TextMeshPro - Input Field component
Code#
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>
using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.UI;
using TMPro;
namespace VisualScript.Runtime
{
[Title("TextMeshPro - Input Field Calculate Layout Input Vertical")]
[Category("UI/Interaction/TextMeshPro - Input Field/Calculate Layout Input Vertical")]
[Description("Executes the Calculate Layout Input Vertical method on the TextMeshPro - Input Field component")]
[Image(typeof(IconUIInputField), ColorTheme.Type.Blue)]
[Keywords("UI, User, Interface, TMP, Text, Mesh, Pro")]
[Serializable]
public class GenInstructionTMP_InputField_CalculateLayoutInputVertical_0 : Instruction
{
[SerializeField] private GetGameObject m_TMP_InputField = new GetGameObject(
new GenTypeGameObject_TMP_InputField()
);
protected override string GetTitle(GameObject source)
{
string method = TextUtils.ThemeAsKeyword("Calculate Layout Input Vertical");
return $"{this.m_TMP_InputField} {method}";
}
protected override Awaitable Run(Args args)
{
TMP_InputField component = this.m_TMP_InputField.Get<TMP_InputField>(args);
if (component == null) return Done;
component.CalculateLayoutInputVertical();
return Done;
}
}
}