Moved MouseHover script

This commit is contained in:
Pasha Bibko
2026-01-22 13:07:01 +00:00
parent 54f170555c
commit 802ac2e078
2 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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));
}
}