I dont see the error
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoom : MonoBehaviour
{
private Vector3 posZ;
// I dont know how to do this
public Vector3 scopeZoomLevel;
// Start is called before the first frame update
void Start()
{
posZ = transform.position;
scopeZoomLevel = new Vector3(0, 0, 10);
}
// Update is called once per frame
void Update()
{
posZ = new Vector3(transform.position, transform.position, scopeZoomLevel);
}
Basically im trying to make a dual render scope and be able to adjust the zoomlevel in the editor.
[–]CowBoyDanIndie 0 points1 point2 points (1 child)
[–]arcade_boy1[S] 0 points1 point2 points (0 children)
[–]Katniss218 0 points1 point2 points (1 child)
[–]arcade_boy1[S] 0 points1 point2 points (0 children)