유니티 C# 이미지 크기 애니메이션 간단 구현 Image Scale Animation


유니티 C# 이미지 크기 애니메이션 간단 구현 Image Scale Animation

코드 작성 using System.Collections; using System.Collections.Generic; using Sirenix.OdinInspector; using UnityEngine; using UnityEngine.UI; public class ImageAnimation : MonoBehaviour { Image image; float size = 0; bool check = false; WaitForSeconds WaitForSeconds = new WaitForSeconds(0.01f); private void Awake() { image = GetComponent(); } [Button] public void SizeUp() { size = 0; check = false; tr..


원문링크 : 유니티 C# 이미지 크기 애니메이션 간단 구현 Image Scale Animation