- Home /
Question by
turbanov · Jul 01, 2016 at 07:01 PM ·
editoreditor-scriptingdetectionplatform
Available Platforms Detection
How can I detect the available (installed) platform modules (Android, iOS, etc) in the Editor script?
Comment
I didn't understand. Are you trying to know wich platforms are available to build a game in unity?
Yup. That's right. I want to know if iOS module is installed, for example.
Answer by tanoshimi · Jul 02, 2016 at 12:31 PM
I can't see that functionality available anywhere, other than by trying BuildPipeline.BuildPlayer with each specified BuildTarget and see whether it errors or not...
Need an console-error-free solution. I doubt this actually is...