Version: 2020.3
public static void RegisterEngine (SearchService.IObjectSelectorEngine engine);

参数

engine The ObjectSelector search engine to register.

描述

Registers an ObjectSelector search engine dynamically.

If you set a dynamically registered engine as the active search engine via the Settings window, you must make sure to register it in subsequent Unity sessions before it is used. If you do not register it, Unity reverts to the default search engine.

See Also: ObjectSelector.UnregisterEngine.