Show / Hide Table of Contents

Class LDtkComponentLevel

This component can be used to get certain LDtk information of a level. Accessible from level GameObjects.

Properties

| Improve this Doc View Source

BgColor

Type Description
UnityEngine.Color
| Improve this Doc View Source

BgPivot

Type Description
UnityEngine.Vector2
| Improve this Doc View Source

BgPos

Type Description
LevelBackgroundPosition
| Improve this Doc View Source

BgRelPath

Type Description
System.String
| Improve this Doc View Source

BorderBounds

Type Description
UnityEngine.Bounds

The world-space bounds of this level.
Useful for getting a level's bounds for a camera, for example.

| Improve this Doc View Source

BorderRect

Type Description
UnityEngine.Rect

The world-space rectangle of this level.
Useful for getting a level's bounds for a camera, for example.

| Improve this Doc View Source

ExternalRelPath

Type Description
System.String
| Improve this Doc View Source

FieldInstances

Type Description
LDtkFields
| Improve this Doc View Source

Identifier

Type Description
System.String
| Improve this Doc View Source

Iid

Type Description
LDtkIid
| Improve this Doc View Source

Json

Type Description
LDtkLevelFile
| Improve this Doc View Source

LayerInstances

Type Description
LDtkComponentLayer[]
| Improve this Doc View Source

LevelBgColor

Type Description
UnityEngine.Color
| Improve this Doc View Source

LevelBgPos

Type Description
LDtkUnity.BgPos
| Improve this Doc View Source

Levels

A static collection of all active level GameObjects in the scene during runtime.
This list will actively update as level GameObjects are set active/inactive.

Type Description
System.Collections.Generic.IReadOnlyCollection<LDtkComponentLevel>
| Improve this Doc View Source

Neighbours

Type Description
LDtkNeighbour[]
| Improve this Doc View Source

Parent

Type Description
LDtkComponentWorld
| Improve this Doc View Source

PxSize

Type Description
UnityEngine.Vector2Int
| Improve this Doc View Source

Size

Type Description
UnityEngine.Vector2
| Improve this Doc View Source

SmartColor

Type Description
UnityEngine.Color
| Improve this Doc View Source

Uid

Type Description
System.Int32
| Improve this Doc View Source

UseAutoIdentifier

Type Description
System.Boolean
| Improve this Doc View Source

WorldCoord

Type Description
UnityEngine.Vector2Int
| Improve this Doc View Source

WorldDepth

Type Description
System.Int32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX