Version: 2022.3
언어: 한국어

SearchPropositionConstructor

매뉴얼로 전환
public SearchProposition (string label, string replacement, string help, int priority, Texture2D icon, object data, Color color);
public SearchProposition (string category, string label, string replacement, string help, int priority, Search.TextCursorPlacement moveCursor, Texture2D icon, Type type, object data, Color color);
public SearchProposition (string label, string replacement, string help, int priority, Search.TextCursorPlacement moveCursor, Texture2D icon, Color color);

파라미터

category Category text used to group propositions together in query builder mode.
label Display text of the proposition.
replacement Text used to auto-complete the query when selected.
help Help text used to display additional information about the search proposition.
priority Value used to sort the propositions among other search propositions when displaying choices to the user.
moveCursor Indicates when the text cursor should be moved when auto-completing the query with the selected proposition.
icon Icon used to display the proposition.
color Color used in query builder mode to draw the block using a specific color.
data User data that the user can retrieve later to determine the nature of the proposition.
type Type of search proposition value. This information is used in the query builder mode.

설명

Create a new search proposition.

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