private void EndTween() { lookAtPlayer = false; // cameraLock.SetDistance(player.position - cameraLock.transform.position); cameraLock.SetAngle(cameraLock.transform.rotation); cameraLock.LockCamera(); }
public void LockCamera() { cameraLock.LockCamera(); isTweening = false; }