|
|
|
|
|
|
private bool _isRMBPressed; |
|
|
|
|
|
|
|
[SerializeField, Range(.5f, 3f)] |
|
|
|
private float _speedMultiplier = 1f; //TODO: make this modifiable in the game settings
|
|
|
|
private float _speedMultiplier = 1f; //TODO: make this modifiable in the game settings
|
|
|
|
[SerializeField] private TransformAnchor _cameraTransformAnchor = default; |
|
|
|
|
|
|
|
[Header("Listening on channels")] |
|
|
|
|
|
|
{ |
|
|
|
freeLookVCam.Follow = target; |
|
|
|
freeLookVCam.LookAt = target; |
|
|
|
freeLookVCam.OnTargetObjectWarped(target,target.position-freeLookVCam.transform.position); |
|
|
|
} |
|
|
|
|
|
|
|
private void OnEnable() |
|
|
|