Catagories

Monday, 3 October 2011

function OnCollisionStart(collision : Collision)
{
if (collision.gameObject.name == "name")
{
Destroy(collision.gameObject);

}

No comments:

Post a Comment