Show / Hide Table of Contents

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

SetCamera(Transform)

Custom-controlled set.

Parameters
Type Name Description
UnityEngine.Transform cam
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX