docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method SetRootBone

    SetRootBone(Transform)

    Sets the Transform Component that represents the root bone for deformation.

    Declaration
    public SpriteSkinState SetRootBone(Transform rootBoneTransform)
    Parameters
    Type Name Description
    Transform rootBoneTransform

    Root bone Transform Component.

    Returns
    Type Description
    SpriteSkinState

    The state of the Sprite Skin.

    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)