浏览代码

enable wantsMouseMove events on editorWindow

/main
Xingwei Zhu 3 年前
当前提交
89042f04
共有 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();

正在加载...
取消
保存