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