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

Particle System Simulate#

Effects / Particle System / Particle System Simulate T, WithChildren, Restart, FixedTimeStep

Description#

Executes the Simulate method on the Particle System component

Parameters#

Name Description
T
With Children
Restart
Fixed Time Step

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("Particle System Simulate")]
    [Category("Effects/Particle System/Simulate", "T, WithChildren, Restart, FixedTimeStep")]
    [Description("Executes the Simulate method on the Particle System component")]
    
    [Image(typeof(IconParticleSystem), ColorTheme.Type.Blue)]
    [Keywords("Effect")]
    
    [Parameter("T")]
    [Parameter("With Children")]
    [Parameter("Restart")]
    [Parameter("Fixed Time Step")]
    
    [Serializable]
    public class GenInstructionParticleSystem_Simulate_4_FloatT_BoolWithChildren_BoolRestart_BoolFixedTimeStep : Instruction
    {
        [SerializeField] private GetGameObject m_ParticleSystem = new GetGameObject(
            new GenTypeGameObject_ParticleSystem()
        );
        
        [SerializeField] private GetNumber m_T = new GetNumber();
        
        [SerializeField] private GetBool m_WithChildren = new GetBool();
        
        [SerializeField] private GetBool m_Restart = new GetBool();
        
        [SerializeField] private GetBool m_FixedTimeStep = new GetBool();
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Simulate");
            return $"{this.m_ParticleSystem} {method} ({this.m_T}, {this.m_WithChildren}, {this.m_Restart}, {this.m_FixedTimeStep})";
        }
        
        protected override Awaitable Run(Args args)
        {
            ParticleSystem component = this.m_ParticleSystem.Get<ParticleSystem>(args);
            if (component == null) return Done;
            
            component.Simulate(
                (float) this.m_T.Get(args),
                (bool) this.m_WithChildren.Get(args),
                (bool) this.m_Restart.Get(args),
                (bool) this.m_FixedTimeStep.Get(args)
            );
            
            return Done;
        }
    }
}

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