浏览代码

Merge pull request #253 from Unity-Technologies/fix_editorwindow_mousemove_event

enable wantsMouseMove events on editorWindow
/main
GitHub 3 年前
当前提交
dae5c4b3
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
      com.unity.uiwidgets/Editor/UIWidgetsEditorPanel.cs

5
com.unity.uiwidgets/Editor/UIWidgetsEditorPanel.cs


void OnEnable() {
D.assert(_wrapper == null);
//enable listener to MouseMoveEvents by default
//user can disable it in onEnable() if needed
wantsMouseMove = true;
_configurations = new Configurations();
_wrapper = new UIWidgetsPanelWrapper();
onEnable();

正在加载...
取消
保存