浏览代码

Update to work with latest GraphView

/main
Peter Bay Bastian 7 年前
当前提交
a39f97cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialGraphView.cs

2
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialGraphView.cs


public MaterialGraphView()
{
RegisterCallback<MouseUpEvent>(DoContextMenu, Capture.Capture);
this.AddManipulator(new ContentZoomer());
SetupZoom(ContentZoomer.DefaultMinScale, ContentZoomer.DefaultMaxScale);
this.AddManipulator(new ContentDragger());
this.AddManipulator(new RectangleSelector());
this.AddManipulator(new SelectionDragger());

正在加载...
取消
保存