updated
This commit is contained in:
@ -13,7 +13,7 @@ public class CameraController : MonoBehaviour
|
||||
private Camera cam;
|
||||
[SerializeField]
|
||||
private Transform target;
|
||||
|
||||
|
||||
private Vector3 offset;
|
||||
|
||||
private Vector3 forward= Vector3.zero;
|
||||
@ -25,7 +25,10 @@ public class CameraController : MonoBehaviour
|
||||
private float newDist = 0;
|
||||
[SerializeField]
|
||||
private bool isChild = false;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
@ -25,6 +25,8 @@ public class PlayerMovementController : MonoBehaviour
|
||||
|
||||
[SerializeField]
|
||||
private float animatedRotationSpeed = 5f;
|
||||
[SerializeField]
|
||||
private Camera cam;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user