GameObject.collider Manual     Reference     Scripting  
Scripting > Runtime Classes > GameObject
GameObject.collider

var collider : Collider

Description

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

var other : GameObject;
other.collider.material.dynamicFriction = 1;