So how are you expecting switching to work when you pass a float vs passing an actor? If you’re using objects only, perhaps there’s no need for a switch at all and you could use an interface.
Not sure how to advise without knowing more. Stumbling in the dark here.
100 different datatypes
Examples?