snipt

Ctrl+h for KB shortcuts

Text only

Unity Pre 5.3 Platform Dependent Compilation

1
2
3
4
5
Use this for the SceneManager for example

#if (UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2)
#define UNITY_PRE_5_3
#endif
https://snipt.net/embed/a2a7ca63de271bd38b2dccfc2fd73bff/
https://snipt.net/raw/a2a7ca63de271bd38b2dccfc2fd73bff/
a2a7ca63de271bd38b2dccfc2fd73bff
text
Text only
5
2016-09-21T10:40:14
True
False
False
Feb 03, 2016 at 07:41 AM
/api/public/snipt/143948/
unity-pre-53-platform-dependent-compilation
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>Use this for the SceneManager for example </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>#if (UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) </span><span id="L-4"><a name="L-4"></a>#define UNITY_PRE_5_3 </span><span id="L-5"><a name="L-5"></a>#endif </span></pre></div> </td></tr></table>
5.3, SceneManager, Unity, pre
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.