PhysicMaterial
Object
PhysicMaterial

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

Parent

Object

Variables
bouncecombine
UnityEngine.PhysicMaterialCombine bouncecombine
bounciness
System.Single bounciness
dynamicfriction
System.Single dynamicfriction
frictioncombine
UnityEngine.PhysicMaterialCombine frictioncombine
staticfriction
System.Single staticfriction
Functions
physicmaterial::​create
static UnityEngine.PhysicMaterial Create (
System.String name
)

Constructor replaces new;

Parameters
name
System.String

no description

Returns

UnityEngine.PhysicMaterial

physicmaterial::​create
static UnityEngine.PhysicMaterial Create ()

Constructor replaces new;

Returns

UnityEngine.PhysicMaterial

physicmaterial::​fromassetbundle
static UnityEngine.PhysicMaterial CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.PhysicMaterial