docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetColorFromPackedColor

    GetColorFromPackedColor(uint)

    Converts a packed color (or unsigned 32bit representation of a color) into an RGBA color.

    Declaration
    public static Color32 GetColorFromPackedColor(uint color)
    Parameters
    Type Name Description
    uint color

    The packed color

    Returns
    Type Description
    Color32

    The RGBA color

    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)