docs.unity3d.com
    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

    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