Class InfiniteScroll
This class handles the infinite scrolling effect for the background.
Inheritance
object
InfiniteScroll
Namespace: Game
Assembly: cs.temp.dll.dll
Syntax
public class InfiniteScroll : MonoBehaviour
Fields
end
The ending position of the background.
Declaration
public float end
Field Value
| Type | Description |
|---|---|
| float |
speed
The speed at which the background scrolls.
Declaration
public float speed
Field Value
| Type | Description |
|---|---|
| float |
start
The starting position of the background.
Declaration
public float start
Field Value
| Type | Description |
|---|---|
| float |