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

Audio Source Gamepad Speaker Supports Output Type#

Audio / Audio Source / Audio Source Gamepad Speaker Supports Output Type

  • Can Read

  • Cannot Write

Description#

Returns the execution of Gamepad Speaker Supports Output Type static method on the Audio Source class

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

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Audio Source Gamepad Speaker Supports Output Type")]
    [Category("Audio/Audio Source/Gamepad Speaker Supports Output Type")]
    [Description("Returns the execution of Gamepad Speaker Supports Output Type static method on the Audio Source class")]
    
    [Image(typeof(IconAudioSource), ColorTheme.Type.Yellow)]
    [Keywords("Audio, Sound, Music, Ambient, Sfx")]
    
    [Serializable]
    public class GenTypeBool_AudioSource_GamepadSpeakerSupportsOutputType_1 : TypeBool
    {
        [SerializeField] private GamepadSpeakerOutputType m_OutputType = default;
        
        public override bool Get(Args args)
        {
            bool value = (bool) AudioSource.GamepadSpeakerSupportsOutputType(
                this.m_OutputType
            );
            return value;
        }
        
        public override string ToString()
        {
            return $"Audio Source Gamepad Speaker Supports Output Type ({this.m_OutputType})";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

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