feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/ParallaxBehaviour.html
|
||||
Title: People Playground Modding - ParallaxBehaviour
|
||||
==================================================
|
||||
|
||||
public class ParallaxBehaviour
|
||||
Inherits MonoBehaviour
|
||||
[RequireComponent(typeof(Camera))]
|
||||
Moves and scales a transform to make it appear far away. This component requires a camera
|
||||
Fields
|
||||
public float Depth
|
||||
The apparent depth of the object
|
||||
|
||||
public Vector2 Offset
|
||||
The apparent offset of the object
|
||||
|
||||
public Vector2 Scale
|
||||
The apparent size of the object
|
||||
|
||||
public Transform Container
|
||||
The object to transform
|
||||
Reference in New Issue
Block a user