Show / Hide Table of Contents

Class World

IMPORTANT: this type is available as a preview. You can rely on it to update your importers, for when it will be officially available. A World contains multiple levels, and it has its own layout settings.

Properties

| Improve this Doc View Source

DefaultLevelHeight

Default new level height

Type Description
System.Int32
| Improve this Doc View Source

DefaultLevelWidth

Default new level width

Type Description
System.Int32
| Improve this Doc View Source

Identifier

User defined unique identifier

Type Description
System.String
| Improve this Doc View Source

Iid

Unique instance identifer

Type Description
System.String
| Improve this Doc View Source

Levels

All levels from this world. The order of this array is only relevant in LinearHorizontal and linearVertical world layouts (see worldLayout value). Otherwise, you should refer to the worldX,worldY coordinates of each Level.

Type Description
Level[]
| Improve this Doc View Source

UnityDefaultLevelSize

Type Description
UnityEngine.Vector2Int

Default new level size.

| Improve this Doc View Source

UnityWorldGridSize

Type Description
UnityEngine.Vector2Int

Size of the world grid in pixels.

| Improve this Doc View Source

WorldGridHeight

Height of the world grid in pixels.

Type Description
System.Int32
| Improve this Doc View Source

WorldGridWidth

Width of the world grid in pixels.

Type Description
System.Int32
| Improve this Doc View Source

WorldLayout

An enum that describes how levels are organized in this project (ie. linearly or in a 2D space). Possible values: Free, GridVania, LinearHorizontal, LinearVertical, null

Type Description
System.Nullable<LDtkUnity.WorldLayout>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX