I need to tween the orthographic size of my camera but Ienter code here
don’t really know how to use LeanTween that well…
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HexZoom : MonoBehaviour {
public Camera camera;
private float zoom;
public void zoomIn(){
camera.orthographicSize = LeanTween.value(camera.gameObject, camera.orthographicSize, 0.5f, 1.7f);
}
public void zoomOut()
{
}
}