Skip to content

Instantly share code, notes, and snippets.

View Saharsh1223's full-sized avatar
πŸ‘¨β€πŸ’»
coding my life 😏

Saharsh 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]