Version: Unity 6.3 Beta (6000.3)
Language : English
Execute Static API methods
Visual query builder reference

The calculator

The Calculator search provider performs mathematical calculations that you can copy to the clipboard. You can also save the formula as a reusable search query, so it’s available to anyone in the project.

For more information about mathematical expressions, refer to Use numeric field expressions.

Note: You can’t implicitly use this search provider as part of a default search. You must explicitly use its search token or its visual query filter.

Query syntax

Provider token: =

Tip: If you leave only the Calculator search provider active, you don’t have to use the provider token.

Supported operators: + - * / % ^ ( )

Query examples:

  • =cos(3 * (2 * pi) * 5)
  • =42/34 + (56 % 6)
  • =23 * 9 ^ 3

Provider filters

The Calculator search provider doesn’t have any filters.

Results

Search window tab: Calculator.

Actions

To copy the result to the clipboard, double-click it, or right-click and select Exec.

Additional resources

Execute Static API methods
Visual query builder reference
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961