docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCinemachineComponent

    GetCinemachineComponent(Stage)

    Get the component set for a specific stage.

    Declaration
    public override CinemachineComponentBase GetCinemachineComponent(CinemachineCore.Stage stage)
    Parameters
    Type Name Description
    CinemachineCore.Stage stage

    The stage for which we want the component

    Returns
    Type Description
    CinemachineComponentBase

    The Cinemachine component for that stage, or null if not defined

    Overrides
    CinemachineVirtualCameraBase.GetCinemachineComponent(CinemachineCore.Stage)

    GetCinemachineComponent<T>()

    Get an existing component of a specific type from the cinemachine pipeline.

    Declaration
    public T GetCinemachineComponent<T>() where T : CinemachineComponentBase
    Returns
    Type Description
    T

    The component if it's present, or null

    Type Parameters
    Name Description
    T

    The type of component to get

    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)