docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor HierarchicalBox

    HierarchicalBox(Color, Color[], HierarchicalBox)

    Constructor. Used to setup colors and also the container if any.

    Declaration
    public HierarchicalBox(Color baseColor, Color[] polychromeHandleColors = null, HierarchicalBox parent = null)
    Parameters
    Type Name Description
    Color baseColor

    The color of each face of the box. Other colors are deduced from it.

    Color[] polychromeHandleColors

    The color of handle when they are separated. When they are grouped, they use a variation of the faceColor instead.

    HierarchicalBox parent

    The HierarchicalBox containing this box. If null, the box will not be limited in size.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)