How to detect platform?

How do I determine what platform I am running on?

I.e Android/Linux/Window/OSX/IOS?

You should Google that. “Java detect os.”
I believe it was that System.getOperatingSystem() or something returns a string and you have to match it then. Googling will take you there :slight_smile:

1 Like

It will be something like

1 Like

You can also use the built-in method JmeSystem.getPlatform()


I would do what @normen said, thanks btw, learnt something new there as well :smile: