Method Destroy Destroy(Object, bool) Allows destroying Unity.Objects. Declaration public static void Destroy(Object obj, bool allowDestroyingAssets = false) Parameters Type Name Description Object obj bool allowDestroyingAssets