Vertical Layout Group Is Invoking#
UI / Layout / Vertical Layout Group / Vertical Layout Group Is Invoking MethodName
Can Read
Cannot Write
Description#
Returns the execution of Is Invoking method on the Vertical Layout Group 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("Vertical Layout Group Is Invoking")]
[Category("UI/Layout/Vertical Layout Group/Is Invoking", "MethodName")]
[Description("Returns the execution of Is Invoking method on the Vertical Layout Group component")]
[Image(typeof(IconVerticalLayoutGroup), ColorTheme.Type.TextLight)]
[Keywords("UI, Layout")]
[Serializable]
public class GenTypeBool_VerticalLayoutGroup_IsInvoking_1_StringMethodName : TypeBool
{
[SerializeField] private GetGameObject m_VerticalLayoutGroup = new GetGameObject(
new GenTypeGameObject_VerticalLayoutGroup()
);
[SerializeField] private GetString m_MethodName = new GetString();
public override bool Get(Args args)
{
VerticalLayoutGroup component = this.m_VerticalLayoutGroup.Get<VerticalLayoutGroup>(args);
if (component == null) return default;
bool value = (bool) component.IsInvoking(
(string) this.m_MethodName.Get(args)
);
return value;
}
public override string ToString()
{
return $"{this.m_VerticalLayoutGroup} Is Invoking ({this.m_MethodName})";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}