This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class CameraController : MonoBehaviour | |
| { | |
| [Header("Camera Movement Options")] | |
| public float keyboardPanSpeed = 100f; | |
| public float mousePanSpeed = 50f; | |
| public float mousePanBaseSpeed = 0.01f; | |
| public float zoomSpeed = 50f; | |
| public float edgeSize = 20f; |
OlderNewer