sharedMaterial
The shared physics material of this collider.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public PhysicsMaterial sharedMaterial { get; set; }
Remarks
Modifying this material will change the surface properties of all colliders using the material. In most cases you want to modify Collider.material instead.