check the preprocessor when switch platform from PC to mobile https://docs.unity3d.com/kr/current/Manual/PlatformDependentCompilation.html
artilla's personal blog. Sorry for broken English, just in practice
artilla's personal blog. Sorry for broken English, just in practice