The new script component / multiple script components on the same game object

In the latest max2d update, scripts are now full blown components just like sprite animations, rigid bodies, box colliders etc. In the release notes it mentioned that this allows you to have multiple script components attached to the same game object. I was really excited about this so i could split up the huge, unwieldy scripts that some of my game objects have. But unfortunately, it seems that only one script component is enabled at run time and there is no way to switch between script components programmatically. (Like is possible with sprite animations via the “set sprite” action)

What is the use case for having multiple scripts on a single game object if you can’t switch between them and they dont all execute when you launch the game?

1 Like

its a bug, all script component should run and no need to switch script components.