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.