C# Class MBParticleCollider, Pharos

Inheritance: MBParameter
Show file Open project: rstaewen/Pharos

Public Properties

Property Type Description
Bounce float
BounceCombine PhysicMaterialCombine
Layers LayerMask
ParticleCollidesSM MBSendMessageTarget,
RestBelowVelocity float

Public Methods

Method Description
OnLifetime ( MBParticle, PT ) : bool
Purge ( ) : void
Reset ( ) : void

Protected Methods

Method Description
OnParticleInsideZone ( MBParticle, PT ) : void

Method Details

OnLifetime() public method

public OnLifetime ( MBParticle, PT ) : bool
PT MBParticle,
return bool

OnParticleInsideZone() protected method

protected OnParticleInsideZone ( MBParticle, PT ) : void
PT MBParticle,
return void

Purge() public method

public Purge ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Property Details

Bounce public property

Bounciness of particles
public float Bounce
return float

BounceCombine public property

How Bounciness of particles and colliders are combined
public PhysicMaterialCombine BounceCombine
return PhysicMaterialCombine

Layers public property

The layers to check collision against
public LayerMask Layers
return LayerMask

ParticleCollidesSM public property

SendMessage like event linking
See \ref events
public MBSendMessageTarget, ParticleCollidesSM
return MBSendMessageTarget,

RestBelowVelocity public property

public float RestBelowVelocity
return float