PhysicsMaterial2D
Object
PhysicsMaterial2D

class:/TYPE/UnityEngine.PhysicsMaterial2D//, can be loaded from an assetbundle using PhysicsMaterial2D::createfromassetbundle(bundlename,prefabname) /

Parent

Object

Functions
physicsmaterial2d::​fromassetbundle
static UnityEngine.PhysicsMaterial2D CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.PhysicsMaterial2D