1
0
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:
Thor Brigsted 2019-05-05 10:28:47 +02:00
parent eb164225c8
commit 65162d553e

View File

@ -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();
} }