Build GUID#
Application / Build GUID
Description#
Compares the Build GUID static property of Application class to another value
Parameters#
| Name | Description |
|---|---|
| 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("Build GUID")]
[Category("Application/Build GUID")]
[Description("Compares the Build GUID static property of Application class to another value")]
[Image(typeof(IconCog), ColorTheme.Type.TextLight)]
[Keywords("App, Game, Settings, Configuration")]
[Parameter("Value")]
[Serializable]
public class GenConditionString_Application_CheckBuildGUID : Condition
{
[SerializeField] private GetString m_Value = new GetString();
protected override string GetTitle(GameObject source)
{
string className = TextUtils.ThemeAsKeyword("Application");
string member = TextUtils.ThemeAsKeyword("Build GUID");
return $"{className} {member} = {this.m_Value}";
}
protected override bool Run(Args args)
{
return Application.buildGUID == (string) this.m_Value.Get(args);
}
}
}