We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b39d5c4 commit 0db5d09Copy full SHA for 0db5d09
Runtime/Controller.cs
@@ -104,6 +104,10 @@ public virtual void OnInitialized () { }
104
/// Method invoked when the controller updates, will be called every frame.
105
public virtual void OnUpdate () { }
106
107
+ /// Method invoked when the system will be destroyed, this will happen when
108
+ /// the application is closing or the controller is being destroyed.
109
+ public virtual void OnWillDestroy () { }
110
+
111
// Register your systems and services to the controller. This can only be
112
// done during 'OnInitialize' cycle.
113
public void Register (params System.Type[] typesOf) {
0 commit comments