- Home /
Question by
taxvi · Jul 07, 2018 at 05:41 PM ·
editor-scriptingplatformbuild settings
Platform switch to trigger a function
I need to somehow subscribe my function to a platform switch event, no matter if it's from editor script or build settings. The switch should trigger the function either before or after. Do I have any options for that?
P.s. I know editor scripts can switch platforms, that's not what I need
Comment
Your answer
Follow this Question
Related Questions
Problems adding scene to build settings via code 1 Answer
How do I toggle the Internal Profiler from a build script? 0 Answers
Set dynamicBatching player setting via editor script? 0 Answers
How to detect if unity build scene for target platform or editor player 2 Answers
Is there a some sort of OnBuild() event for the editor? 1 Answer