Version: 2020.3

Scene.RegisterEngine

切换到手册
public static void RegisterEngine (SearchService.ISceneSearchEngine engine);

参数

engine The Scene search engine to register.

描述

Registers a Scene 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: Scene.UnregisterEngine.