Class LDtkComponentLayerParallax
Mimics the parallax implementation from LDtk.
If you want something more customized than this, make a custom implementation of parallax. But this should be able to suit most needs.
Fields
|
Improve this Doc
View Source
halfLevelSize
Field Value
Type |
Description |
UnityEngine.Vector2 |
|
|
Improve this Doc
View Source
parallaxFactor
Field Value
Type |
Description |
UnityEngine.Vector2 |
|
|
Improve this Doc
View Source
scaled
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
useFixedUpdate
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
useParallax
Field Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Parameters
Type |
Name |
Description |
UnityEngine.Transform |
cam |
|