docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsGameCamera

    IsGameCamera(Camera)

    Checks if a camera is a game camera.

    Declaration
    public static bool IsGameCamera(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    Camera to check state from.

    Returns
    Type Description
    bool

    true if given camera is a game camera, false otherwise.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)