//------------------------------------------------------------------------- static NativeAudioControl() { #if UNITY_ANDROID mINativeAudioControl = new AndroidAudioControl(); Debug.Log("AndroidAudioControl::"); #elif UNITY_IOS mINativeAudioControl = new IOSAudioControl(); Debug.Log("IOSAudioControl::"); #else Debug.LogError("Do not supported on this platform. "); #endif }