mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +08:00
Marked NodeGraph.OnDestroy virtual
This commit is contained in:
parent
eb164225c8
commit
65162d553e
@ -77,7 +77,7 @@ namespace XNode {
|
|||||||
return graph;
|
return graph;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnDestroy() {
|
protected virtual void OnDestroy() {
|
||||||
// Remove all nodes prior to graph destruction
|
// Remove all nodes prior to graph destruction
|
||||||
Clear();
|
Clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user