Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.33k stars 348 forks source link

How to Access Modules in Standalone Plugin Solution #584

Open oDARKMATT3Ro opened 2 years ago

oDARKMATT3Ro commented 2 years ago

Hi!

I am creating a plugin solution outside of Unity that will be used inside Unity as a .dll library. In my solution I need a reference to the DOTween UI module as I have some components that use CanvasGroup.DOFade and other functions. I know how to get a reference to DOTween.dll, but because the modules are installed during DOTween setup inside of Unity, I don't know how to get a reference to the modules or if what I am trying to do is possible. Can someone please advise?

Demigiant commented 2 years ago

Ahoy! I'm not sure I understand what kind of reference you mean. The UI Modules (and the others) are always installed as CS files in DOTween's folder, but its content is rewritten if you activate them or not (basically there are some "#if false" in the classes that become "#if true" if they are enabled). You mean you would like to force-enable them? Or maybe I'm misunderstanding?