Search Results for

    Show / Hide Table of Contents

    Class AxisSpawner

    This manages the process of spawning objects in your scene while the game is running. You can set it up to spawn objects automatically when spawner is enabled, or trigger the spawning process manually from other sources in your game.

    Inheritance
    object
    AxisMonoBehaviour
    AxisGameObject
    AxisSpawner
    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.Logic
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class AxisSpawner : AxisGameObject

    Fields

    MaxSpawned

    Declaration
    public int MaxSpawned
    Field Value
    Type Description
    int

    OnEnableDo

    What to do on enable this spawner

    Declaration
    public AxisSpawnerOnEnable OnEnableDo
    Field Value
    Type Description
    AxisSpawnerOnEnable

    OnSpawner

    List of events dispatched by spawners

    Declaration
    public SpawnerEvents OnSpawner
    Field Value
    Type Description
    SpawnerEvents

    PoolingReuse

    For better performance previously spawned objects with same name have been deactivated will be respawned as new when same name object is to be spawned.

    Declaration
    public bool PoolingReuse
    Field Value
    Type Description
    bool

    SpawnFirework

    Firework to burst at the spawned object when spawned

    Declaration
    public AxisFirework SpawnFirework
    Field Value
    Type Description
    AxisFirework

    SpawnInTilesWhen

    If set to false when spawn occurs on a tile blocked by solid collider it is canceled and ignored.

    Declaration
    public BoolTileSpace SpawnInTilesWhen
    Field Value
    Type Description
    BoolTileSpace

    SpawnResetRotation

    If true spawned objects should have rotation reset to zero, false spawned objects will have the same rotation as spawner.

    Declaration
    public bool SpawnResetRotation
    Field Value
    Type Description
    bool

    Methods

    FlashEnable()

    Declaration
    public void FlashEnable()

    SetMaxSpawnedToCounter(AxisCounter)

    Declaration
    public void SetMaxSpawnedToCounter(AxisCounter c)
    Parameters
    Type Name Description
    AxisCounter c

    Spawn(AxisSpawnerOnEnable)

    Declaration
    public void Spawn(AxisSpawnerOnEnable type)
    Parameters
    Type Name Description
    AxisSpawnerOnEnable type

    SpawnByName(string)

    Declaration
    public void SpawnByName(string name)
    Parameters
    Type Name Description
    string name

    StopChainedNextSpawns()

    Declaration
    public void StopChainedNextSpawns()
    In This Article
    Back to top Axis 1.0.0