ドキュメント

Unity Engine

Download Unity

Unity Engine

TryChangeDataMode(DataMode)

Requests a DataMode change for the EditorWindow.
読み終わるまでの所要時間 1 分最終更新 5日前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. IDataModeController is deprecated and will be removed in a future release. #from(7000.0)
bool TryChangeDataMode(DataMode newDataMode)

Parameters

newDataMode

The DataMode to which the Editor window should change.

Returns

Type

Description

boolWhether current Editor window has changed to the requested DataMode.

Remarks

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