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

On Quaternion Change#

Bindings / On Quaternion Change

Description#

Executes when the Quaternion bound changes its value

Parameters#

Name Description
Initial Emit Emits the event immediately when the component is enabled or not

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("On Quaternion Change")]
    [Image(typeof(IconQuaternion), ColorTheme.Type.Lime, typeof(BadgeLink))]
    
    [Description("Executes when the Quaternion bound changes its value")]
    [Category("Bindings/On Quaternion Change")]

    [Serializable]
    public class TriggerCoreBindQuaternion : TriggerCoreBindBase
    {
        [SerializeField] private GetQuaternion m_Quaternion = new GetQuaternion();
        
        // PROPERTIES: ----------------------------------------------------------------------------

        protected override string GetTitle(GameObject source) => $"change {this.m_Quaternion}";

        protected override ISubscription Subscription => this.m_Quaternion;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.