Class Zone
Represents a world. e.g. Forest of Turbulence
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Zone
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
defaultMusicRef
Declaration
[Header("Settings")]
[InfoBox("This music will be played on non-boss rooms.", InfoMessageType.Info, null)]
public AssetRef<DewMusicItem> defaultMusicRef
Field Value
defaultProps
Declaration
[InfoBox("This prop rule will be applied on combat rooms.", InfoMessageType.Info, null)]
public PropSpawnRule defaultProps
Field Value
disableRoomModifiers
Declaration
[Header("World Generation")]
public bool disableRoomModifiers
Field Value
eventRooms
Declaration
[FoldoutGroup("Automatically Baked Data", 0)]
public List<string> eventRooms
Field Value
| Type |
Description |
| System.Collections.Generic.List<T><string> |
|
mainColor
Declaration
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
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
zoneTier
Declaration
Field Value
Extension Methods