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