Search Results for

    Show / Hide Table of Contents

    Class Zone

    Represents a world. e.g. Forest of Turbulence

    Inheritance
    object
    UnityEngine.Object
    UnityEngine.Component
    UnityEngine.Behaviour
    UnityEngine.MonoBehaviour
    Zone
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [DewResourceLink(ResourceLinkBy.Name)]
    public class Zone : MonoBehaviour

    Fields

    bossRooms

    Declaration
    [FoldoutGroup("Automatically Baked Data", 0)]
    public List<string> bossRooms
    Field Value
    Type Description
    System.Collections.Generic.List<T><string>

    combatRooms

    Declaration
    [FoldoutGroup("Automatically Baked Data", 0)]
    public List<string> combatRooms
    Field Value
    Type Description
    System.Collections.Generic.List<T><string>

    defaultMonsters

    Declaration
    public MonsterSpawnRule defaultMonsters
    Field Value
    Type Description
    MonsterSpawnRule

    defaultMusicRef

    Declaration
    [Header("Settings")]
    [InfoBox("This music will be played on non-boss rooms.", InfoMessageType.Info, null)]
    public AssetRef<DewMusicItem> defaultMusicRef
    Field Value
    Type Description
    AssetRef<DewMusicItem>

    defaultProps

    Declaration
    [InfoBox("This prop rule will be applied on combat rooms.", InfoMessageType.Info, null)]
    public PropSpawnRule defaultProps
    Field Value
    Type Description
    PropSpawnRule

    disableRoomModifiers

    Declaration
    [Header("World Generation")]
    public bool disableRoomModifiers
    Field Value
    Type Description
    bool

    eventRooms

    Declaration
    [FoldoutGroup("Automatically Baked Data", 0)]
    public List<string> eventRooms
    Field Value
    Type Description
    System.Collections.Generic.List<T><string>

    mainColor

    Declaration
    public Color mainColor
    Field Value
    Type Description
    UnityEngine.Color

    numOfEvents

    Declaration
    [HideIf("useSpecialGeneration", true)]
    public Vector2Int numOfEvents
    Field Value
    Type Description
    UnityEngine.Vector2Int

    numOfMerchants

    Declaration
    [HideIf("useSpecialGeneration", true)]
    public Vector2Int numOfMerchants
    Field Value
    Type Description
    UnityEngine.Vector2Int

    numOfNodes

    Declaration
    [HideIf("useSpecialGeneration", true)]
    public Vector2Int numOfNodes
    Field Value
    Type Description
    UnityEngine.Vector2Int

    rooms

    Declaration
    [FoldoutGroup("Automatically Baked Data", 0)]
    public List<string> rooms
    Field Value
    Type Description
    System.Collections.Generic.List<T><string>

    shopRooms

    Declaration
    [FoldoutGroup("Automatically Baked Data", 0)]
    public List<string> shopRooms
    Field Value
    Type Description
    System.Collections.Generic.List<T><string>

    specialNodes

    Declaration
    [ShowIf("useSpecialGeneration", true)]
    public int specialNodes
    Field Value
    Type Description
    int

    startRooms

    Declaration
    [FoldoutGroup("Automatically Baked Data", 0)]
    public List<string> startRooms
    Field Value
    Type Description
    System.Collections.Generic.List<T><string>

    useSpecialGeneration

    Declaration
    public bool useSpecialGeneration
    Field Value
    Type Description
    bool

    zoneTier

    Declaration
    public int zoneTier
    Field Value
    Type Description
    int

    Extension Methods

    DewGUI.SetExpandHeight<T>(T, bool)
    DewGUI.SetExpandHeight<T>(T, float)
    DewGUI.SetExpandWidth<T>(T, bool)
    DewGUI.SetExpandWidth<T>(T, float)
    DewGUI.SetHeight<T>(T, float)
    DewGUI.SetText<T>(T, string)
    DewGUI.SetTextLocalized<T>(T, string)
    DewGUI.SetWidth<T>(T, float)
    In This Article
    Back to top Shape of Dreams API Documentation