1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-21 01:36:03 +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;
}
private void OnDestroy() {
protected virtual void OnDestroy() {
// Remove all nodes prior to graph destruction
Clear();
}