Screen Full Screen#
Screen / Screen Full Screen
Description#
Compares the Full Screen static property of Screen 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("Screen Full Screen")]
[Category("Screen/Full Screen")]
[Description("Compares the Full Screen static property of Screen class to another value")]
[Image(typeof(IconScreen), ColorTheme.Type.TextLight)]
[Keywords("Display, Resolution, Window, Monitor")]
[Serializable]
public class GenConditionBool_Screen_CheckFullScreen : Condition
{
protected override string GetTitle(GameObject source)
{
string className = TextUtils.ThemeAsKeyword("Screen");
string member = TextUtils.ThemeAsKeyword("Full Screen");
return $"{className} {member}";
}
protected override bool Run(Args args)
{
return Screen.fullScreen;
}
}
}