Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Collider2D.sharedMaterial

Switch to Manual
public var sharedMaterial: PhysicsMaterial2D;

Description

The PhysicsMaterial2D that is applied to this collider.

See Also: PhysicsMaterial2D class.