#if UNITY_EDITOR // unity_editer #elif UNITY_IPHONE if (SystemInfo.deviceModel.Contains ("iPad")) { // iPad } else { // iPhone } #elif UNITY_ANDROID // Android #endif