유니티 C# 윈도우 창 애니메이션 Window Animation 간단 사용법


유니티 C# 윈도우 창 애니메이션 Window Animation 간단 사용법

코드 작성 (Dotween 사용) using UnityEngine; using System.Collections; using DG.Tweening; public class WindowAnimation : MonoBehaviour { float duration = 0.15f; Vector3 scaleTo = new Vector3(1f, 1f, 1f); void OnEnable() { transform.localScale = new Vector3(0, 0, 0); transform.DOScale(scaleTo, duration); } void OnDisable() { transform.localScale = new Vector3(0, 0, 0); } } 코드 작성 using UnityEngine; using..


원문링크 : 유니티 C# 윈도우 창 애니메이션 Window Animation 간단 사용법