mirror of
https://github.com/DerTyp7/industrialize-unity.git
synced 2025-10-30 12:57:11 +01:00
new init
This commit is contained in:
@@ -4,13 +4,13 @@ public class CameraMovement : MonoBehaviour
|
||||
{
|
||||
[Header("Speed")]
|
||||
[SerializeField]
|
||||
float speed = 150f;
|
||||
float speed = 100f;
|
||||
|
||||
[SerializeField]
|
||||
float fastSpeed = 300f;
|
||||
float fastSpeed = 200f;
|
||||
|
||||
[SerializeField]
|
||||
float slowSpeed = 50f;
|
||||
float slowSpeed = 30f;
|
||||
|
||||
[Header("Zoom")]
|
||||
[SerializeField]
|
||||
@@ -30,8 +30,6 @@ public class CameraMovement : MonoBehaviour
|
||||
Vector3 origin;
|
||||
Vector3 difference;
|
||||
|
||||
|
||||
|
||||
Camera cam;
|
||||
Rigidbody2D rb;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user