Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Screen Autorotate To Landscape Right#

Screen / Screen Autorotate To Landscape Right

Description#

Compares the Autorotate To Landscape Right 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 Right")]
    [Category("Screen/Autorotate To Landscape Right")]
    [Description("Compares the Autorotate To Landscape Right static property of Screen class to another value")]

    [Image(typeof(IconScreen), ColorTheme.Type.TextLight)]
    [Keywords("Display, Resolution, Window, Monitor")]

    [Serializable]
    public class GenConditionBool_Screen_CheckAutorotateToLandscapeRight : Condition
    {

        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Screen");
            string member = TextUtils.ThemeAsKeyword("Autorotate To Landscape Right");
            return $"{className} {member}";
        }

        protected override bool Run(Args args)
        {
            return Screen.autorotateToLandscapeRight;
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.