Class ScreenOrientationTests | Unity Documentation
docs.unity3d.com
    Show / Hide Table of Contents

    Class ScreenOrientationTests

    Inheritance
    Object
    ScreenOrientationTests
    Namespace: Tests
    Syntax
    public class ScreenOrientationTests

    Methods

    RotateWithAutorotate(ScreenOrientation)

    Declaration
    public void RotateWithAutorotate(ScreenOrientation orientation)
    Parameters
    Type Name Description
    ScreenOrientation orientation

    RuntimeAutoRotationOrientationDisable(ScreenOrientation)

    Declaration
    public void RuntimeAutoRotationOrientationDisable(ScreenOrientation orientation)
    Parameters
    Type Name Description
    ScreenOrientation orientation

    RuntimeAutoRotationOrientationEnable(ScreenOrientation)

    Declaration
    public void RuntimeAutoRotationOrientationEnable(ScreenOrientation orientation)
    Parameters
    Type Name Description
    ScreenOrientation orientation

    SetOrientationExplicitly(ScreenOrientation)

    Declaration
    public void SetOrientationExplicitly(ScreenOrientation orientation)
    Parameters
    Type Name Description
    ScreenOrientation orientation

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    WillRotateOnlyToEnabledOrientationsWhenAutoRotating(ScreenOrientation)

    Declaration
    public void WillRotateOnlyToEnabledOrientationsWhenAutoRotating(ScreenOrientation disabledOrientation)
    Parameters
    Type Name Description
    ScreenOrientation disabledOrientation
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023