docs.unity3d.com
    Show / Hide Table of Contents

    Class SetParentWhenTimelinePlays

    Uses pre-animated transforms to animate components such as Doors or wheels. Useful if we reimport the model, so that we don't need to recreate animations Sets target transform parents to parentAt when directors are playing

    Inheritance
    Object
    SetParentWhenTimelinePlays
    Namespace: Unity.Industrial.Forma.Staging.Animations
    Syntax
    public class SetParentWhenTimelinePlays : MonoBehaviour

    Fields

    directors

    Directors

    Declaration
    public PlayableDirector[] directors
    Field Value
    Type Description
    PlayableDirector[]

    parentAt

    Parent at

    Declaration
    public Transform parentAt
    Field Value
    Type Description
    Transform

    targetDeferredQueryTransforms

    Target deferred query transforms

    Declaration
    public DeferredQuery<List<GameObject>> targetDeferredQueryTransforms
    Field Value
    Type Description
    DeferredQuery<List<GameObject>>

    Properties

    targetQueryTransforms

    Target query transforms

    Declaration
    public List<GameObject> targetQueryTransforms { get; }
    Property Value
    Type Description
    List<GameObject>

    Methods

    SetSelection()

    Set selection

    Declaration
    public void SetSelection()
    Back to top
    Terms of use
    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