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));
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9cc8a72ada3ae6b4abc80c6c2fadd590
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: