16 lines
534 B
Plaintext
16 lines
534 B
Plaintext
URL: https://wiki.studiominus.nl/internalReference/CameraSyncBehaviour.html
|
|
Title: People Playground Modding - CameraSyncBehaviour
|
|
==================================================
|
|
|
|
public class CameraSyncBehaviour
|
|
Inherits MonoBehaviour
|
|
Behaviour that syncs one camera with another
|
|
Fields
|
|
public Camera Master
|
|
Camera to sync up with
|
|
|
|
public Camera Slave
|
|
Camera to sync with the Master camera
|
|
|
|
public bool OrthographicSizeIsZPosition
|
|
Should the orthographic size of the Master camera change the actual Z position of the Slave camera? |