}
public delegate void OnNodeModified(INode node, ModificationScope scope);
public delegate void OnNodeReplaced(INode previous, INode current);
public interface INode
{
using System.Reflection;
using UnityEngine.Experimental.UIElements;
using UnityEditor.ShaderGraph;
namespace UnityEditor.ShaderGraph.Drawing.Controls
UpdatePortInputVisibilities();
foreach (var control in m_ControlViews)
var listener = control as INodeModificationListener;
if (listener != null)
listener.OnNodeModified(scope);
void AddSlots(IEnumerable<MaterialSlot> slots)
using UnityEditor.Graphing;
namespace UnityEditor.ShaderGraph.Drawing
public interface INodeModificationListener
void OnNodeModified(ModificationScope scope);
fileFormatVersion: 2
guid: 22f268830a014848b3a8bfdd5142a2d0
timeCreated: 1510751718