// Use this for initialization void Awake() { #if UNITY_IOS m_oPlatformSpecific = new PlatformSpecificIOS(); #elif UNITY_ANDROID m_oPlatformSpecific = new PlatformSpecificAndroid(); #else m_oPlatformSpecific = new PlatformSpecificBase(); #endif m_oPlatformSpecific.InitPlatofrm(); }
// Use this for initialization void Awake() { #if UNITY_IOS m_oPlatformSpecific = new PlatformSpecificIOS(); #elif UNITY_ANDROID m_oPlatformSpecific = new PlatformSpecificAndroid(); #else m_oPlatformSpecific = new PlatformSpecificBase(); #endif m_oPlatformSpecific.InitPlatofrm(); }