public override void Initialize(Model.NodeData data) { data.AddDefaultInputPoint(); data.AddOutputPoint("Any"); data.AddOutputPoint("OnlyInEditor"); data.AddOutputPoint("OnlyInBatchMode"); }
public override Node Clone(Model.NodeData newData) { var newNode = new SeparateByEnvironmentNode(); newData.AddDefaultInputPoint(); newData.AddOutputPoint("Any"); newData.AddOutputPoint("OnlyInEditor"); newData.AddOutputPoint("OnlyInBatchMode"); return(newNode); }
public void AddFilterCondition(Model.NodeData n, IFilter filter) { var point = n.AddOutputPoint(filter.Label); var newEntry = new FilterEntry(filter, point); m_filter.Add(newEntry); UpdateFilterEntry(n, newEntry); }
// For Clone public void AddEntryForClone(Model.NodeData data, GeneratorEntry src) { var point = data.AddOutputPoint(src.m_name); var newEntry = new GeneratorEntry(src.m_name, src.m_instance, point); m_entries.Add(newEntry); UpdateGeneratorEntry(null, data, newEntry); }
public override void Initialize(Model.NodeData data) { m_packageName = new SerializableMultiTargetString(); m_exportPackageOptions = new SerializableMultiTargetInt(); data.AddDefaultInputPoint(); data.AddOutputPoint("UnityPackage"); }
public override Node Clone(Model.NodeData newData) { var newNode = new UnityPackageExporter { m_packageName = new SerializableMultiTargetString(m_packageName), m_exportPackageOptions = new SerializableMultiTargetInt(m_exportPackageOptions) }; newData.AddDefaultInputPoint(); newData.AddOutputPoint("UnityPackage"); return(newNode); }