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

Visual Effect Has Vector 4#

Effects / Visual Effect / Visual Effect Has Vector 4 Name

Description#

Compares the Has Vector 4 method of Visual Effect component to another value

Parameters#

Name Description
Visual Effect
Name

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.VFX;

namespace VisualScript.Runtime
{
    [Title("Visual Effect Has Vector 4")]
    [Category("Effects/Visual Effect/Has Vector 4", "Name")]
    [Description("Compares the Has Vector 4 method of Visual Effect component to another value")]
    
    [Image(typeof(IconVisualEffect), ColorTheme.Type.Yellow)]
    [Keywords("Effect")]
    
    [Parameter("Visual Effect")]
    [Parameter("Name")]
    
    [Serializable]
    public class GenConditionBool_VisualEffect_CheckHasVector4_1_StringName : Condition
    {
        [SerializeField] private GetGameObject m_VisualEffect = new GetGameObject(
            new GenTypeGameObject_VisualEffect()
        );
        
        [SerializeField] private GetString m_Name = new GetString();
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Has Vector 4");
            string parameters = $"({this.m_Name})";
            return $"{this.m_VisualEffect} {method}";
        }
        
        protected override bool Run(Args args)
        {
            VisualEffect component = this.m_VisualEffect.Get<VisualEffect>(args);
            if (component == null) return false;
            
            bool value = component.HasVector4(
                (string) this.m_Name.Get(args)
            );
            
            return value;
        }
    }
}

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