using UnityEngine; using System.Collections; public class ClickScript : MonoBehaviour { public void OnClick() { Destroy(this.gameObject); //Debug.Log("DESTROY = " + this.gameObject.name); } }