Colliding with Objects


  • "void OnCollisionEnter ()"
{
Debug.log "I hit a target!"
}



  • void OnCollisionEnter ()
{
Debug.log (collisioninfo.collider.name)
}


movementenabled = false

Comments

Popular posts from this blog