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 Start#

Component / On Start

Description#

Executes when the game object or component attached is initialized

Code#

using System;
using UnityEngine;
using VisualScript.Icons;

namespace VisualScript.Runtime
{
    [Title("On Start")]
    [Image(typeof(IconArrowCircleRight), ColorTheme.Type.Yellow)]
    
    [Description("Executes when the game object or component attached is initialized")]
    [Category("Component/On Start")]
    
    [Keywords("Initialize", "Setup")]

    [Serializable]
    public class TriggerCoreStart : TriggerHandleSubscriptionBase<HandleStart>
    {
        protected override string GetTitle(GameObject source) => "Start";

        protected override void OnTrigger(GameObject target)
        {
            using Args args = Args.Get(this.Component, target);
            this.Run(args);
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.