Search Results for

    Show / Hide Table of Contents

    Class AxisFirework

    AxisFireworks generate visual and sound effects in games, offering preset properties for optimization and customization.

    Inheritance
    object
    AxisMonoBehaviour
    AxisGameObject
    AxisFirework
    Inherited Members
    AxisMonoBehaviour.ContainsLabel(string)
    AxisMonoBehaviour.CountChildrenWithLabel(string, bool)
    AxisMonoBehaviour.ContainsLabelInChildren(string, bool)
    AxisMonoBehaviour.GetSpaceBetweenColliders(AxisMonoBehaviour)
    AxisMonoBehaviour.GetSpaceBetweenCollidersHorizontally(AxisMonoBehaviour)
    AxisMonoBehaviour.PauseGame()
    AxisMonoBehaviour.SetActiveByName(string)
    AxisMonoBehaviour.ResumeGame()
    AxisMonoBehaviour.GameTimeScaleSet(float)
    AxisMonoBehaviour.transform
    AxisMonoBehaviour.gameObject
    AxisMonoBehaviour.collider
    AxisMonoBehaviour.Origin
    AxisMonoBehaviour.OnTransformChildrenChanged()
    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

    In This Article
    Back to top Axis 1.0.0