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

Run In Background#

Settings / Application / Run In Background

  • Can Read

  • Can Write

Description#

The Run In Background static property of the Application class

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
{
    [Get]
    [Set]
    
    [Title("Run In Background")]
    [Category("Settings/Application/Run In Background")]
    [Description("The Run In Background static property of the Application class")]
    
    [Image(typeof(IconCog), ColorTheme.Type.TextLight)]
    [Keywords("App, Game, Settings, Configuration")]
    
    [Serializable]
    public class GenTypeBool_Application_RunInBackground : TypeBool
    {
        
        public override bool GetPreview(GameObject source)
        {
            return Application.runInBackground;
        }
        
        public override bool Get(Args args)
        {
            return Application.runInBackground;
        }
        
        public override void Set(bool value, Args args)
        {
            Application.runInBackground = (bool) value;
        }
        
        public override string ToString()
        {
            return $"Application Run In Background";
        }
        
        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}

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