ドキュメント

Unity Engine

Download Unity

Unity Engine

UpdateSupportedDataModes(IList<DataMode>, DataMode)

Updates the list of DataMode s that the EditorWindow supports, and sets the preferred DataMode to use when the DataMode switcher UI is set to Automatic.
読み終わるまでの所要時間 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)
void UpdateSupportedDataModes(IList<DataMode> supportedDataMode, DataMode preferredDataMode)

Parameters

supportedDataMode

A list of the supported DataModes.

preferredDataMode

Preferred data mode to use given the current context when the DataMode switcher UI is set to Automatic.

Remarks

If the DataMode switcher UI is currently set to Automatic, the Editor window also changes to that preferred DataMode.