浏览代码

Add change callback to controls when edge changes

/main
Peter Bay Bastian 7 年前
当前提交
83dbd5d0
共有 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)

正在加载...
取消
保存