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

Animator Is Human#

Animation / Animator / Animator Is Human

Description#

Compares the Is Human property of Animator component to another value

Parameters#

Name Description
Animator

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;

namespace VisualScript.Runtime
{
    [Title("Animator Is Human")]
    [Category("Animation/Animator/Is Human")]
    [Description("Compares the Is Human property of Animator component to another value")]
    
    [Image(typeof(IconAnimator), ColorTheme.Type.Teal)]
    [Keywords("Animation, Clip, Play, Animate")]
    
    [Parameter("Animator")]
    
    [Serializable]
    public class GenConditionBool_Animator_CheckIsHuman : Condition
    {
        [SerializeField] private GetGameObject m_Animator = new GetGameObject(
            new GenTypeGameObject_Animator()
        );
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Is Human");
            return $"{this.m_Animator} {member}";
        }
        
        protected override bool Run(Args args)
        {
            Animator component = this.m_Animator.Get<Animator>(args);
            if (component == null) return false;
            
            return component.isHuman;
        }
    }
}

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