티스토리 뷰
#DOTween
유니티의 에셋중 하나
http://dotween.demigiant.com/documentation.php
DOTween - Documentation
Nomenclature Tweener A tween that takes control of a value and animates it. Sequence A special tween that, instead of taking control of a value, takes control of other tweens and animates them as a group. Tween A generic word that indicates both a Tweener
dotween.demigiant.com
*DOTween.ToAlpha ->color의 알파값을 (float to)까지 (float duration)동안
#Ease
-시간경과에 따른 매개변수의 변화를 값으로 저장
Easing Functions Cheat Sheet
Easing functions specify the speed of animation to make the movement more natural. Real objects don’t just move at a constant speed, and do not start and stop in an instant. This page helps you choose the right easing function.
easings.net
#DoTween.ToAlpha 알파값을 0으로 조정, 1f=duration
#SetEase(Ease.OutQuad)를 통해 color의 알파값이 변하는 것을 선형적으로 조정.
'게임클라이언트 프로그래밍 > Unity' 카테고리의 다른 글
3D 캐릭터의 시선 (각도에 따른 변화) (0) | 2023.03.01 |
---|---|
RenderTexture (0) | 2023.02.28 |
3D Simple RPG (0) | 2023.02.27 |
3D 캐릭터 이동 연습 (0) | 2023.02.26 |
VRCity (0) | 2023.02.23 |