This version of Unity is unsupported.

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.