Version: 2022.3
public bool TryChangeDataMode (DataMode newDataMode);

参数

newDataMode The DataMode to which the Editor window should change.

返回

bool Whether current Editor window has changed to the requested DataMode.

描述

Requests a DataMode change for the EditorWindow.

If the DataMode isn't supported or if the DataMode switcher UI isn't set to Automatic, the change request won't work.