Asset Generation Behaviour | 2D Animation | 2.2.1-preview.2
docs.unity3d.com
    Show / Hide Table of Contents

    Asset Generation Behaviour

    The following is the steps that Unity takes to generate the various Sprite Swap components.

    1. When you import a PSB file with the PSD Importer, Unity generates a Prefab and creates a Sprite Library Asset as a sub-Asset of this Prefab.

    2. Unity then generates a GameObject for each Sprite in the Prefab that does not belong to a Category, or is the first Label in the Category.

    3. Unity attaches the Sprite Resolver component to all Sprite GameObjects that belong to a Category.

    4. Unity then attaches the Sprite Library component to the root GameObject, and the component is set to reference the Sprite Library Asset created in Step 1.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023