Quantcast
Channel: Answers by "Vandarthul"
Viewing all articles
Browse latest Browse all 86

Answer by Vandarthul

$
0
0
Since you are in Editor, and IOS platform(setted in build settings) both of those codes will work. Try this: #if UNITY_EDITOR Debug.Log("editor"); #elif UNITY_IOS Debug.Log("iphone"); #endif Also check here for more info: https://docs.unity3d.com/Manual/PlatformDependentCompilation.html

Viewing all articles
Browse latest Browse all 86

Trending Articles



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