Stair | ProBuilder | 4.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Stair

    You can create straight stairs, curved stairs, long stairs, stairs with a lot of steps, wide stairs, and stairs without side polygons.

    Stair shapes

    You can customize the shape of your stairs with these shape properties:

    Stair shape properties

    Property: Description:
    Steps Set the number of steps to define on the stairs. The default value is 6. Valid values range from 2 to 64.
    Build Sides Enable this option to draw polygons on the sides of the stairs. This is enabled by default. You can disable this option if the sides of your stairs are not visible to the camera (for example, if your stairs are built into a wall).
    Curvature Set the degree of curvature on the stairs in degrees, where 0 makes straight stairs and 360 makes stairs in a complete circle. Keep in mind that you might need to increase the number of stairs to compensate as you increase this value. The default value is 0. Valid values range from 0 to 360.
    Width or X Set the width (dimensions in the x-axis) of the stairs in meters. You can use the Width slider or enter an exact value in the X text box. The default value is 2. Valid values range from 0.01 to 10.
    Height or Y Set the height (dimensions in the y-axis) of the stairs in meters. You can use the Height slider or enter an exact value in the Y text box. The default value is 2.5. Keep in mind that you may need to increase the number of stairs to compensate as you increase this value. Valid values range from 0.01 to 10.
    Depth or Z Set the depth (dimensions in the z-axis) of the stairs in meters. You can use the Depth slider or enter an exact value in the Z text box. Keep in mind that you may need to increase the number of stairs to compensate as you increase this value. The default value is 4. Valid values range from 0.01 to 10.
    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