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 1d3b6ba commit a1b79e5Copy full SHA for a1b79e5
Runtime/Interfaces/IEntitySystem.cs
@@ -40,6 +40,10 @@ public interface IEntitySystem {
40
// on gui draw call.
41
void OnDrawGui ();
42
43
+ /// Method invoked when the system will be destroyed, this will happen when
44
+ /// the application is closing or the controller is being destroyed.
45
+ void OnWillDestroy ();
46
+
47
/// Sets whether the system is enabled or disabled, enabling the system allows
48
/// it to invoke all of the cycle calls such as OnUpdate and OnDrawGizmos.
49
void SetEnabled (bool value);
0 commit comments