Class AxisFirework
AxisFireworks generate visual and sound effects in games, offering preset properties for optimization and customization.
Inherited Members
Namespace: Axis.VFX
Assembly: cs.temp.dll.dll
Syntax
public sealed class AxisFirework : AxisGameObject
Fields
BurstParticleNum
Number of particles to emmit in a single burst
Declaration
public int BurstParticleNum
Field Value
Type | Description |
---|---|
int |
BurstSound
List of sound settings
Declaration
public AxisFirework_SoundEffect BurstSound
Field Value
Type | Description |
---|---|
AxisFirework_SoundEffect |
CameraShake
Intensity to shake the camera
Declaration
public float CameraShake
Field Value
Type | Description |
---|---|
float |
MaxPerSecond
Max simultaneous bursts per second
Declaration
public int MaxPerSecond
Field Value
Type | Description |
---|---|
int |
OnFirework
List of events related to fireworks
Declaration
public FireworkEvents OnFirework
Field Value
Type | Description |
---|---|
FireworkEvents |
Methods
SpawnParticleBurst(Transform)
Queue a burst related to specified transform
Declaration
public void SpawnParticleBurst(Transform at)
Parameters
Type | Name | Description |
---|---|---|
Transform | at | Transform to use as reference to the burst |
SpawnParticleBurst(Vector3)
Queue a burst at specified position
Declaration
public void SpawnParticleBurst(Vector3 pos)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | pos | Position to burst |