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