private void OnCollisionEnter(Collision collision) { ITouchable obj = collision.gameObject.GetComponent <ITouchable>(); if (obj != null) { obj.TouchAction(this.gameObject); } }