Version: 2022.3
言語: 日本語
Obsolete public Component collider ;

説明

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

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<Collider>().material.dynamicFriction = 1; } }