C# Class ScoreParticleEmitter, Imagine_diamond-miner

ScoreParticleEmitter - script that allows re-use of a particle system to emit bursts of particles in specific locations.
Inheritance: MonoBehaviour
Mostra file Open project: Microsoft/Imagine_diamond-miner Class Usage Examples

Public Methods

Method Description
EmitParticles ( Vector3 position, int numParticles ) : void

Moves the particle system to a location and emits a number of particles from there.

Private Methods

Method Description
Awake ( ) : void

Method Details

EmitParticles() public method

Moves the particle system to a location and emits a number of particles from there.
public EmitParticles ( Vector3 position, int numParticles ) : void
position Vector3 The location from which to emit.
numParticles int The number of particles to emit.
return void