using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseHover : MonoBehaviour { void OnMouseOver() { iTween.ScaleTo(gameObject, iTween.Hash("x", 1.15, "y", 1.1, "time", 1.5)); } void OnMouseExit() { iTween.ScaleTo(gameObject, iTween.Hash("x", 1, "y", 1, "time", 1.5)); } }