Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

TextMeshPro - Input Field Move To End Of Line#

UI / Interaction / TextMeshPro - Input Field / TextMeshPro - Input Field Move To End Of Line

Description#

Executes the Move To End Of Line method on the TextMeshPro - Input Field component

Parameters#

Name Description
Shift
Ctrl

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 Move To End Of Line")]
    [Category("UI/Interaction/TextMeshPro - Input Field/Move To End Of Line")]
    [Description("Executes the Move To End Of Line method on the TextMeshPro - Input Field component")]
    
    [Image(typeof(IconUIInputField), ColorTheme.Type.Blue)]
    [Keywords("UI, User, Interface, TMP, Text, Mesh, Pro")]
    
    [Parameter("Shift")]
    [Parameter("Ctrl")]
    
    [Serializable]
    public class GenInstructionTMP_InputField_MoveToEndOfLine_2 : Instruction
    {
        [SerializeField] private GetGameObject m_TMP_InputField = new GetGameObject(
            new GenTypeGameObject_TMP_InputField()
        );
        
        [SerializeField] private GetBool m_Shift = new GetBool();
        
        [SerializeField] private GetBool m_Ctrl = new GetBool();
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Move To End Of Line");
            return $"{this.m_TMP_InputField} {method} ({this.m_Shift}, {this.m_Ctrl})";
        }
        
        protected override Awaitable Run(Args args)
        {
            TMP_InputField component = this.m_TMP_InputField.Get<TMP_InputField>(args);
            if (component == null) return Done;
            
            component.MoveToEndOfLine(
                (bool) this.m_Shift.Get(args),
                (bool) this.m_Ctrl.Get(args)
            );
            
            return Done;
        }
    }
}

Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.