Skip to content

Instantly share code, notes, and snippets.

View Jigyasa-G's full-sized avatar
🎯
Focusing

Jigyasa Gupta Jigyasa-G

🎯
Focusing
View GitHub Profile
using UnityEngine;
using UnityEngine.EventSystems;
public class UIZoomImage : MonoBehaviour, IScrollHandler
{
private Vector3 initialScale;
[SerializeField]
private float zoomSpeed = 0.1f;
[SerializeField]