docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetIcon

    GetIcon()

    Implement this to set your Tool's icon and tooltip.

    Declaration
    protected abstract GUIContent GetIcon()
    Returns
    Type Description
    GUIContent

    A GUIContent with an icon set.

    In This Article
    Back to top
    Copyright © 2023 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)