Hey folks,
So for complicated reasons I have a need to change some method calls in code dependant on whether a developer is looking at the game in Unitys playmode or if the game is actually compliled, built and playing.
I essentially want something akin to this:
if (Unity.Playmode){
DoThis();
}
if (Build.Playmode){
DoSomethingElse();
}
I'm not clear on whether something like Application.isPlaying would be called both in playmode and once the game is built, if so it would be unsuitable. Any advice would be greatly appreciated :).
↧