Search Results for

    Show / Hide Table of Contents

    Class MonsterPool

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

    Fields

    entries

    Declaration
    [ListDrawerSettings(Expanded = true)]
    public List<MonsterPool.SpawnRuleEntry> entries
    Field Value
    Type Description
    System.Collections.Generic.List<T><MonsterPool.SpawnRuleEntry>

    scrambleOrder

    Declaration
    public bool scrambleOrder
    Field Value
    Type Description
    bool

    Methods

    GetFilteredEntries()

    Get only the entries included in the build.

    Declaration
    public List<MonsterPool.SpawnRuleEntry> GetFilteredEntries()
    Returns
    Type Description
    System.Collections.Generic.List<T><MonsterPool.SpawnRuleEntry>

    GetMonsters(int, DewRandom)

    Declaration
    public IEnumerator<Monster> GetMonsters(int sectionIndex, DewRandom random = null)
    Parameters
    Type Name Description
    int sectionIndex
    DewRandom random
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<T><Monster>
    In This Article
    Back to top Shape of Dreams API Documentation