Quantcast
Channel: Latest Questions by Brentonb
Viewing all articles
Browse latest Browse all 4

SwitchActiveBuildTarget vs. buildTarget

$
0
0
Scenario : started out using a modified version of http://wiki.unity3d.com/index.php?title=AutoBuilder but the same "SwitchActiveBuildTarget" was there. Have a post-processing script that's supposed to run, wrapped in "#if UNITY_IPHONE" definition ... only randomly would it actually execute anything in there when specifying BuildTarget.iPhone on passing to "SwitchActiveBuildTarget()". However, in looking at http://docs.unity3d.com/Manual/CommandLineArguments.html , can also pass in "-buildTarget" ... which magically increases success ratio of builds, despite also having "SwitchActiveBuildTarget()". Sooo ... what's going on here? Are they doing same thing? Which one matters more??

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>