SurfaceMaterial
Create a default surface material.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Constructor
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
SurfaceMaterial()
Create a default surface material.
public SurfaceMaterial()
SurfaceMaterial(bool)
Create a default surface material.
public SurfaceMaterial(bool useSettings)
Parameters
Controls whether the default come settings from the physics settings or not.