Destroy(Monobehaviour), what is the import?


I have a class that does not extend/inherit from Mono behaviour and wanted to call the Destroy Function, does anyone know what the import is so i can use it in a none Mono Behaviour script

goes something like this

using Systems. xxxxx .xxxxx

at the top of your script, make sure you use

using UnityEngine;

and then you can just type in:


using UnityEngine;