티스토리 뷰

게임클라이언트 프로그래밍/Unity

DOTween,Ease

Game Client Lee Hwanguk 2023. 2. 28. 00:31

#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

-시간경과에 따른 매개변수의 변화를 값으로 저장

https://easings.net/

 

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

#FadeIn효과

#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
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함