|
|
|
|
|
|
[SerializeField] |
|
|
|
private List<GraphElementData> m_TempElements = new List<GraphElementData>(); |
|
|
|
|
|
|
|
[SerializeField] |
|
|
|
private TitleBarDrawData m_TitleBar; |
|
|
|
|
|
|
|
|
|
|
|
public TitleBarDrawData titleBar |
|
|
|
{ |
|
|
|
get { return m_TitleBar; } |
|
|
|
} |
|
|
|
|
|
|
|
void OnNodeChanged(INode inNode, ModificationScope scope) |
|
|
|
{ |
|
|
|
|
|
|
AddTypeMappings(); |
|
|
|
|
|
|
|
this.graphAsset = graphAsset; |
|
|
|
|
|
|
|
m_TitleBar = CreateInstance<TitleBarDrawData>(); |
|
|
|
m_TitleBar.Initialize(graphAsset); |
|
|
|
|
|
|
|
if (graphAsset == null) |
|
|
|
return; |
|
|
|