# Easy Destroy

<figure><img src="/files/vmul4ur3cPT542xO9wyj" alt="" width="301"><figcaption></figcaption></figure>

Attach to any GameObject you want destroyed or disabled after X seconds

{% hint style="info" %}
Useful for prefabs that are temporary, such as VFX. Just attach it to the prefab and it will destroy itself when its done with the effect.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airship.gg/unity-for-airship/easy-helper-utils/easy-destroy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
