You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DoTween, as a famous and popular unity package, does not follow unity package standard: no package.json and no asmdef
Without which, any 3rd party package can not provide functionality with different behavior when user has/has not DoTween installed.
Ironically, DoTween allow use to click a button called "create asmdef", which means two things: 1. DoTween can work under asmdef just fine. The author just not want to include one in the build 2. The issue has been pending for 5 years, and many PR that fixes it has been invalid with upstream, which is a huge bummer
SaintsField has a tool called "DoTweenPlay" to preview tween without entering play mode. However, because of lacking asmdef, if user has DoTween installed without manually setup a DoTween asmdef, it'll give a compile error, from SaintsField. (And might think SaintsField is broken and leave)
The script you're looking at is a standalone package (so won't be affected even when SaintsField hit the compile error), it only do one thing: if DoTween is installed without asmdef, popup a window to ask user either setup an asmdef for DoTween, or disable DoTweenPlay in SaintsField.
This small package should not depend on anything or import anything to avoid getting broken, so eveyline of that I need to manually write it in native unity editor script. I also need to copy paste some code from main SaintsField package into it...
lol
i don't use dottween due to perfs but ... why?
The text was updated successfully, but these errors were encountered: