Is Batch Mode#
Application / Is Batch Mode
Description#
Compares the Is Batch Mode static property of Application class to another value
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("Is Batch Mode")]
[Category("Application/Is Batch Mode")]
[Description("Compares the Is Batch Mode static property of Application class to another value")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Serializable]
public class GenConditionBool_Application_CheckIsBatchMode : Condition
{
protected override string GetTitle(GameObject source)
{
string className = TextUtils.ThemeAsKeyword("Application");
string member = TextUtils.ThemeAsKeyword("Is Batch Mode");
return $"{className} {member}";
}
protected override bool Run(Args args)
{
return Application.isBatchMode;
}
}
}