Method OnDestroy OnDestroy() Destroys the subsystem. If the subsystem is running, Stop() is also called. Declaration protected override sealed void OnDestroy() Overrides Subsystem.OnDestroy()