Skip to content

Instantly share code, notes, and snippets.

View Saharsh1223's full-sized avatar
👨‍💻
coding my life 😏

Saharsh1223 Saharsh1223

👨‍💻
coding my life 😏
View GitHub Profile
using UnityEngine;
using UnityEngine.EventSystems;
public class UIZoomImage : MonoBehaviour, IScrollHandler
{
private Vector3 initialScale;
[SerializeField]
private float zoomSpeed = 0.1f;
[SerializeField]