Versions with this page:
Versions without this page:
附加到此 GameObject 的 Collider。(如果未附加,则为 null)。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { collider.material.dynamicFriction = 1; } }