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

Unscaled Delta Time#

Time / Unscaled Delta Time

  • Can Read

  • Cannot Write

Description#

The time scale independent interval in seconds from the last frame to the current one

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Unscaled Delta Time")]
    [Category("Time/Unscaled Delta Time")]
    [Description("The time scale independent interval in seconds from the last frame to the current one")]
    
    [Image(typeof(IconTimer), ColorTheme.Type.Blue)]
    [Keywords("Time, Clock, Tick")]
    
    [Serializable]
    public class TypeNumberTimeUnscaledDeltaTime : TypeNumber
    {
        public override double GetPreview(GameObject source) => Time.unscaledDeltaTime;

        public override double Get(Args args)
        {
            return Time.unscaledDeltaTime;
        }
        
        public override string ToString()
        {
            return "Unscaled Delta Time";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnUpdate;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.