Can shapes be used with dotween?

Avatar
  • updated

Just like the question asks, is there a way to cleanly use shapes with dotween such as changing color and other information?

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Freya Holmér creator

There's no built-in support but you can use the generic tweeners, eg:


DOTween.To(() => disc.Radius, x => disc.Radius = x, to, duration);