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
|
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
|
Improve this Doc
View Source
Identifier
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Iid
|
Improve this Doc
View Source
Json
|
Improve this Doc
View Source
LayerInstances
|
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.
|
Improve this Doc
View Source
Neighbours
|
Improve this Doc
View Source
Parent
|
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 |
|