docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method ResolveSpriteToSpriteRenderer

    ResolveSpriteToSpriteRenderer()

    Set the Sprite in SpriteResolver to the SpriteRenderer component that is in the same GameObject.

    Declaration
    public bool ResolveSpriteToSpriteRenderer()
    Returns
    Type Description
    bool

    True if it successfully resolved the Sprite.

    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)