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

Slider Find Selectable On Right#

UI / Interaction / Slider / Slider Find Selectable On Right

  • Can Read

  • Cannot Write

Description#

Returns the execution of Find Selectable On Right method on the Slider 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;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Slider Find Selectable On Right")]
    [Category("UI/Interaction/Slider/Find Selectable On Right")]
    [Description("Returns the execution of Find Selectable On Right method on the Slider component")]
    
    [Image(typeof(IconUISlider), ColorTheme.Type.TextLight)]
    [Keywords("UI, User, Interface")]
    
    [Serializable]
    public class GenTypeGameObject_Slider_FindSelectableOnRight_0 : TypeGameObject
    {
        [SerializeField] private GetGameObject m_Slider = new GetGameObject(
            new GenTypeGameObject_Slider()
        );
        
        public override GameObject Get(Args args)
        {
            Slider component = this.m_Slider.Get<Slider>(args);
            if (component == null) return default;
            
            Selectable value = (Selectable) component.FindSelectableOnRight();
            
            return value != null ? value.gameObject : null;
        }
        
        public override U Get<U>(Args args)
        {
            if (typeof(U) == typeof(Selectable))
            {
                Slider component = this.m_Slider.Get<Slider>(args);
                if (component == null) return default;
                
                return component.FindSelectableOnRight() as U;
            }
            
            return base.Get<U>(args);
        }
        
        public override string ToString()
        {
            return $"{this.m_Slider} Find Selectable On Right";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

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