using UnityEngine;
using System.Collections;

public class ColliderScript : MonoBehaviour {

    public GameObject hit = null;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}




    void OnCollisionEnter(Collider other) {
        //Destroy(other.gameObject);
        hit = other.gameObject;
    }
}
