Version: 2021.3
언어: 한국어
Removed

GameObject.collider

매뉴얼로 전환
Obsolete public Component collider ;

설명

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

Obsolete. Use GetComponent<Collider>() instead.

using UnityEngine;

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