|
TopDown Engine v4.5
|
A class used to store layer settings. More...
Public Attributes | |
| RectTransform | Rect |
| the rect transform for this layer | |
| float | Speed = 2f |
| the speed at which this layer should move | |
| float | Amplitude = 50f |
| the maximum distance this layer can travel from its starting position | |
| Vector2 | StartPosition |
| the starting position for this layer | |
| bool | Active = true |
| if this is false, this layer won't move | |
| bool | ForceZPosition = true |
| if this is true, will force the z position of this layer to ForcedZPosition | |
| float | ForcedZPosition = 0f |
| the z position at which to force this layer to be | |
A class used to store layer settings.
| bool MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Active = true |
if this is false, this layer won't move
| float MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Amplitude = 50f |
the maximum distance this layer can travel from its starting position
| float MoreMountains.Tools.MMParallaxUI.ParallaxLayer.ForcedZPosition = 0f |
the z position at which to force this layer to be
| bool MoreMountains.Tools.MMParallaxUI.ParallaxLayer.ForceZPosition = true |
if this is true, will force the z position of this layer to ForcedZPosition
| RectTransform MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Rect |
the rect transform for this layer
| float MoreMountains.Tools.MMParallaxUI.ParallaxLayer.Speed = 2f |
the speed at which this layer should move
| Vector2 MoreMountains.Tools.MMParallaxUI.ParallaxLayer.StartPosition |
the starting position for this layer