Class CinemachineMenu | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class CinemachineMenu

    Inheritance
    System.Object
    CinemachineMenu
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Cinemachine.Editor
    Syntax
    public static class CinemachineMenu

    Fields

    kCinemachineRootMenu

    Declaration
    public const string kCinemachineRootMenu = "Assets/Create/Cinemachine/"
    Field Value
    Type Description
    System.String

    Methods

    CreateCameraBrainIfAbsent()

    If there is no CinemachineBrain in the scene, try to create one on the main camera

    Declaration
    public static void CreateCameraBrainIfAbsent()

    CreateDefaultVirtualCamera()

    Create a default Virtual Camera, with standard components

    Declaration
    public static CinemachineVirtualCamera CreateDefaultVirtualCamera()
    Returns
    Type Description
    CinemachineVirtualCamera

    CreateVirtualCamera()

    Declaration
    public static CinemachineVirtualCamera CreateVirtualCamera()
    Returns
    Type Description
    CinemachineVirtualCamera

    GenerateUniqueObjectName(Type, String)

    Generate a unique name with the given prefix by adding a suffix to it

    Declaration
    public static string GenerateUniqueObjectName(Type type, string prefix)
    Parameters
    Type Name Description
    Type type
    System.String prefix
    Returns
    Type Description
    System.String
    Back to top
    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