Component.collider

var collider : Collider

Description

The Collider attached to this GameObject (null if there is none attached).

JavaScript
collider.material.dynamicFriction = 1;