Day2-Morning

This commit is contained in:
StudentJW
2026-01-15 13:21:11 +00:00
parent 14e6c341e7
commit 65c89fc4fe
4 changed files with 173 additions and 32 deletions

20
Assets/MouseHover.cs Normal file
View File

@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseHover : MonoBehaviour
{
void OnMouseOver()
{
Debug.Log("tHIS");
iTween.ScaleTo(gameObject, iTween.Hash("x", 1.25, "y", 1.25, "time", 1));
}
void OnMouseExit()
{
iTween.ScaleTo(gameObject, iTween.Hash("x", 1, "y", 1, "time", 1));
}
}