ํฌ์ŠคํŠธ

Unity | DOTween

Unity | DOTween

๐Ÿ’ซ ๋จธ๋ฆฌ๋ง


๐Ÿซง _

  • Tween -> Coroutine (Var)
  • Kill -> StopCoroutine
  • tr.DOMove(targetPos, moveTime).SetEase(Ease.OutExpo)
  • DOTWeen.To(c => ์‹œ์ž‘๊ฐ’, x => ๊ฐ’ ๋ณ€๊ฒฝ ์ž‘์—…, ๋ชฉํ‘œ๊ฐ’, ์‹œ๊ฐ„)
  • DOTween VS Anim
    • ์ƒํƒœ๊ฐ€ ์žˆ๋Š” Anim์ด๋ผ๋ฉดโ€ฆ DOTween์ด ์ข‹์„ ์ง€๋„?
    • Anim์œผ๋กœ ํ•˜๋ ค๋ฉด (int)State SetInt SetTrigger๋กœ ํ•ด์•ผํ•˜๋Š”๋ฐ
    • DOTween์€ Switch๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ˆ๊นŒ
    • โ€ฆ ๊ทธ๋ƒฅ ์ผ๋‹จ ๊ทธ๋Œ€๋กœ ๋‘์ž (<- ํ›„๋‹ด, ๊ฒฐ๊ตญ ์ˆ˜์ •ํ•จ)
  • DOTween.Init (logBehavior: โ€œ.ErrorOnly)
  • DOTween.Play(object_GameObjectX);
์ด ๊ธฐ์‚ฌ๋Š” ์ €์ž‘๊ถŒ์ž์˜ CC BY 4.0 ๋ผ์ด์„ผ์Šค๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.