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 b9960ba commit b39d5c4Copy full SHA for b39d5c4
Runtime/EntitySystem.cs
@@ -56,6 +56,10 @@ public virtual void OnEnabled () { }
56
// Method invoked when the system becomes disabled.
57
public virtual void OnDisabled () { }
58
59
+ /// Method invoked when the system will be destroyed, this will happen when
60
+ /// the application is closing or the controller is being destroyed.
61
+ public virtual void OnWillDestroy () { }
62
+
63
// Method invoked when an entity of this system is initializing.
64
public virtual void OnEntityInitialize (EntityComponentType entity) { }
65
0 commit comments