Destroy
Tutorial
Beginner
5 Mins
Overview
Overview
Summary
How to use the Destroy() function to remove GameObjects and Components at runtime.
This tutorial is included in the Beginner Scripting project.
Previous: Linear Interpolation
Next: GetButton and GetKey
Topics we'll cover
Language
English
Recommended Unity Versions
4 and Above
Tutorial
Destroy