docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Using the calculator

    The Calculator Search Provider computes expressions directly in Quick Search. Enter any expression that is valid in a numerical text field in Unity, and Quick Search displays the result in the results area.

    Note

    This is a special search. You must use its search token to execute it. You cannot make it an active Search Provider, or combine it with other Search Providers.

    Search token: = (equals sign)

    Default action: Logs the result of the expression to the console, and copies it to the clipboard.

    Context menu actions:

    Action: Function:
    Compute Logs the result of the expression to the console, and copies it to the clipboard.


    Calculator Search Provider

    In This Article
    Back to top
    Copyright © 2025 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)