MissingScriptEditor.

DestroyProperly(Object, bool) Method

Summary

Destroys the `target`. Shows a confirmation dialog before destroying assets.

Syntax

public static void DestroyProperly(Object target, bool confirmAssetDeletion)

Parameters

Name Type Description
target Object
confirmAssetDeletion bool

Return Value

Type Description
void