Component.collidervar collider : ColliderDescriptionThe Collider attached to this GameObject (null if there is none attached).
JavaScript
collider.material.dynamicFriction = 1; using UnityEngine; import UnityEngine |
