浏览代码

Update use of EdgeControl to non-obsolete properties

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

5
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/PortInputView.cs


using System;
using System;
using UnityEditor.Experimental.UIElements;
using UnityEditor.Experimental.UIElements.GraphView;
using UnityEditor.Graphing;

base.OnStyleResolved(styles);
styles.ApplyCustomProperty(k_EdgeColorProperty, ref m_EdgeColor);
m_EdgeControl.UpdateLayout();
m_EdgeControl.edgeColor = edgeColor;
m_EdgeControl.inputColor = edgeColor;
m_EdgeControl.outputColor = edgeColor;
}
public void UpdateSlotType()

正在加载...
取消
保存