docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field Priority

    Priority can be used to control which Cm Camera is live when multiple CM Cameras are active simultaneously. The most-recently-activated CinemachineCamera will take control, unless there is another Cm Camera active with a higher priority. In general, the most-recently-activated highest-priority CinemachineCamera will control the main camera.

    The default priority is 0.  Often it is sufficient to leave the default setting.  
    In special cases where you want a CinemachineCamera to have a higher or lower priority than 0, 
    the value can be set here.
    
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    [Tooltip("Priority can be used to control which Cm Camera is live when multiple CM Cameras are active simultaneously.  The most-recently-activated CinemachineCamera will take control, unless there is another Cm Camera active with a higher priority.  In general, the most-recently-activated highest-priority CinemachineCamera will control the main camera. \n\nThe default priority is 0.  Often it is sufficient to leave the default setting.  In special cases where you want a CinemachineCamera to have a higher or lower priority than 0, the value can be set here.")]
    [EnabledProperty("Enabled", "(using default)")]
    public PrioritySettings Priority
    Returns
    Type Description
    PrioritySettings
    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)