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 Portrait Upside Down#

Screen / Screen Autorotate To Portrait Upside Down

  • Can Read

  • Can Write

Description#

The Autorotate To Portrait Upside Down static property of the Screen class

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
{
    [Get]
    [Set]

    [Title("Screen Autorotate To Portrait Upside Down")]
    [Category("Screen/Autorotate To Portrait Upside Down")]
    [Description("The Autorotate To Portrait Upside Down static property of the Screen class")]

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

    [Serializable]
    public class GenTypeBool_Screen_AutorotateToPortraitUpsideDown : TypeBool
    {

        public override bool GetPreview(GameObject source)
        {
            return Screen.autorotateToPortraitUpsideDown;
        }

        public override bool Get(Args args)
        {
            return Screen.autorotateToPortraitUpsideDown;
        }

        public override void Set(bool value, Args args)
        {
            Screen.autorotateToPortraitUpsideDown = (bool) value;
        }

        public override string ToString()
        {
            return $"Screen Autorotate To Portrait Upside Down";
        }

        protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.