docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetActiveBrain

    GetActiveBrain(int)

    Access the array of active CinemachineBrains in the scene without generating garbage

    Declaration
    public static CinemachineBrain GetActiveBrain(int index)
    Parameters
    Type Name Description
    int index

    Index of the brain to access, range 0-ActiveBrainCount

    Returns
    Type Description
    CinemachineBrain

    The brain at the specified index

    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)