docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetDefaultRayColor

    SetDefaultRayColor(IUsesSetDefaultRayColor, Transform, Color)

    Set the color of the default ray

    Declaration
    public static void SetDefaultRayColor(this IUsesSetDefaultRayColor user, Transform rayOrigin, Color color)
    Parameters
    Type Name Description
    IUsesSetDefaultRayColor user

    The functionality user

    Transform rayOrigin

    The ray on which to set the color

    Color color

    The color to set on the default ray

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