snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

LeanTween-Follow for LeanTween v2.50, New Command #1021

Open breadnone opened 2 years ago

breadnone commented 2 years ago

Description

New command for object following based on LeanTween.follow which available in the latest version of LeanTween which is version 2.50

What is the current behavior?

We don't have this command yet, although we can do this with the combination of Fungus' default commands the result is just terrible bcos there's no options for easing the movement.

What is the new behavior?

We can easily follow a target gameobject

Important Notes

Other information

NOTE: LeanTween.follow only available in the latest version, which is v2.50!. And yeah, Fungus uses the old version of leantween still.

Hope Fungus' LeanTween package can be updated soon.

Thanks!