浏览代码

Merge pull request #343 from Unity-Technologies/control-edge-callback

Callback on edge change to ControlView
/main
GitHub 7 年前
当前提交
a49aec2e
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      com.unity.shadergraph/Editor/Drawing/Views/MaterialNodeView.cs

7
com.unity.shadergraph/Editor/Drawing/Views/MaterialNodeView.cs


foreach (var portInputView in m_PortInputContainer.OfType<PortInputView>())
portInputView.UpdateSlotType();
foreach (var control in m_ControlItems)
{
var listener = control as INodeModificationListener;
if (listener != null)
listener.OnNodeModified(ModificationScope.Graph);
}
}
void OnResize(Vector2 deltaSize)

正在加载...
取消
保存