IDataModeController.TryChangeDataMode

Declaration

public bool TryChangeDataMode(DataMode newDataMode);

Parameters

newDataMode The DataMode to which the Editor window should change.

Returns

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

Description

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.


Did you find this page useful? Please give it a rating: