# Destroy()

> Destroys this instance of a subsystem. Also unloads all resources acquired during the initialization step. Call this when you no longer need this instance of a subsystem. Note: Once a subsystem is Destroyed, script can still hold a reference but calling a method on it will result in a NullArgumentException.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.SubsystemsImplementation](/engine/6000.6/script-reference/unityengine/subsystemsimplementation.md)
* **Assembly:** UnityEngine.SubsystemsModule

```csharp
public void Destroy()
```
