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

Fixed Delta Time#

Time / Fixed Delta Time

  • Can Read

  • Cannot Write

Description#

The time between physics (Fixed Update) frames in seconds

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Get]
    
    [Title("Fixed Delta Time")]
    [Category("Time/Fixed Delta Time")]
    [Description("The time between physics (Fixed Update) frames in seconds")]
    
    [Image(typeof(IconTimer), ColorTheme.Type.Blue, typeof(BadgePhysics))]
    [Keywords("Time", "Clock", "Tick", "Physics")]
    
    [Serializable]
    public class TypeNumberTimeFixedDeltaTime : TypeNumber
    {
        public override double GetPreview(GameObject source) => Time.fixedDeltaTime;

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