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