how to make a destroy reference in unity code example
Example: how to make a destroy reference in unity
private void OnMouseDown()
{
Destroy(gameObject);
}
private void OnMouseDown()
{
Destroy(gameObject);
}