FadeInOut behavior


In the above playground FadeInOut, like all behaviors, is only possible with classes implementing IBehaviorAware. Is there some reason that only 3D GUI supports behaviors, not 2D? And is there some kind of a workaround?

The main reason is because that behavior expects 3D objects

I see no problem to add the interface to 2D controls though

1 Like

I mean there’s no specific need for 2D GUI elements to support behaviors as a whole, just that I think it would be nice to use existing fading functionality for a 2D element rather than rewriting. Maybe better as suggestion category. Thanks anyway

1 Like