Class PM
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class PM : ManagerSingleton<PM>
- Inheritance
-
PM
- Inherited Members
-
Constructors
PM()
Fields
MatDef_Default
public MatDef MatDef_Default
Field Value
- MatDef
PMat_Air
Field Value
- PMat
PMat_Default
Field Value
- PMat
RefPlayerHead
public Collider RefPlayerHead
Field Value
- Collider
SoundSets
public PM.HitSoundSet[] SoundSets
Field Value
- HitSoundSet[]
Properties
AirMat
public static PMat AirMat { get; }
Property Value
- PMat
DefaultMat
public static PMat DefaultMat { get; }
Property Value
- PMat
DefaultMatDef
public static MatDef DefaultMatDef { get; }
Property Value
- MatDef
SBallisticDic
public static Dictionary<BallisticProjectileType, Dictionary<MatBallisticType, BallisticMatSeries>> SBallisticDic { get; }
Property Value
- Dictionary<BallisticProjectileType, Dictionary<MatBallisticType, BallisticMatSeries>>
Methods
Awake()
protected override void Awake()
GetMatSeries(MatBallisticType, BallisticProjectileType)
public static BallisticMatSeries GetMatSeries(MatBallisticType matType, BallisticProjectileType projType)
Parameters
matType
MatBallisticType
projType
BallisticProjectileType
Returns
- BallisticMatSeries
GetRandomImpactClip(PMaterial)
public static AudioClip GetRandomImpactClip(PMaterial mat)
Parameters
mat
PMaterial
Returns
- AudioClip
GetRefPlayerHead()
public static Collider GetRefPlayerHead()
Returns
- Collider
GetSoundCategoryFromMat(PMaterial)
public static PMatSoundCategory GetSoundCategoryFromMat(PMaterial mat)
Parameters
mat
PMaterial
Returns
- PMatSoundCategory