Search Results for

    Show / Hide Table of Contents

    Class MonsterSpawnRule

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.ScriptableObject
    MonsterSpawnRule
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [CreateAssetMenu(fileName = "New Monster Spawn Rule", menuName = "Monster Spawn Rule")]
    public class MonsterSpawnRule : ScriptableObject

    Fields

    initialDelay

    Declaration
    public Vector2 initialDelay
    Field Value
    Type Description
    UnityEngine.Vector2

    isBossSpawn

    Declaration
    public bool isBossSpawn
    Field Value
    Type Description
    bool

    nextWavePopulationThreshold

    Declaration
    [HideIf("isBossSpawn", true)]
    public Vector2 nextWavePopulationThreshold
    Field Value
    Type Description
    UnityEngine.Vector2

    onOverPopulation

    Declaration
    [HideIf("isBossSpawn", true)]
    public OverpopulationBehavior onOverPopulation
    Field Value
    Type Description
    OverpopulationBehavior

    pool

    Declaration
    public MonsterPool pool
    Field Value
    Type Description
    MonsterPool

    populationPerWave

    Declaration
    [HideIf("isBossSpawn", true)]
    public Vector2 populationPerWave
    Field Value
    Type Description
    UnityEngine.Vector2

    spawnMaxDistance

    Declaration
    public float spawnMaxDistance
    Field Value
    Type Description
    float

    spawnMinDistance

    Declaration
    public float spawnMinDistance
    Field Value
    Type Description
    float

    stallCancelTimeout

    Declaration
    [ShowIf("@onOverPopulation == OverpopulationBehavior.Stall", true)]
    [HideIf("isBossSpawn", true)]
    public float stallCancelTimeout
    Field Value
    Type Description
    float

    wavesMax

    Declaration
    [HideIf("isBossSpawn", true)]
    [HorizontalGroup("Waves Min, Max/A", 0, 0, 0, 0)]
    [HideLabel]
    public int wavesMax
    Field Value
    Type Description
    int

    wavesMin

    Declaration
    [TitleGroup("Waves Min, Max", null, TitleAlignments.Left, true, true, false, 0, HorizontalLine = false, BoldTitle = false)]
    [HorizontalGroup("Waves Min, Max/A", 0, 0, 0, 0)]
    [HideLabel]
    [HideIf("isBossSpawn", true)]
    public int wavesMin
    Field Value
    Type Description
    int

    waveTimeoutMax

    Declaration
    [HorizontalGroup("Wave Timeout Min, Max/A", 0, 0, 0, 0)]
    [HideLabel]
    [HideIf("isBossSpawn", true)]
    public float waveTimeoutMax
    Field Value
    Type Description
    float

    waveTimeoutMin

    Declaration
    [TitleGroup("Wave Timeout Min, Max", null, TitleAlignments.Left, true, true, false, 0, HorizontalLine = false, BoldTitle = false)]
    [HorizontalGroup("Wave Timeout Min, Max/A", 0, 0, 0, 0)]
    [HideLabel]
    [HideIf("isBossSpawn", true)]
    public float waveTimeoutMin
    Field Value
    Type Description
    float
    In This Article
    Back to top Shape of Dreams API Documentation