private void LoadSoundCallback(AbstractAssetInfo info, object userData) { // PlaySoundParams playSoundParams = (PlaySoundParams) userData; // if (playSoundParams == null) // { // Debuger.LogError("Play sound info is invalid."); // return; // } // // soundBeingLoaded.Remove(playSoundParams.SerialId); // if (soundToReleaseOnLoad.Contains(playSoundParams.SerialId)) // { // Debuger.LogError(string.Format("Release sound '{0}' on loading success.", playSoundParams.SerialId.ToString())); // soundToReleaseOnLoad.Remove(playSoundParams.SerialId); // //resourceManager.ReleaseSoundAsset(soundAsset); todo txy // return; // } // // ISound soundAgent = GetSoundGroup(playSoundParams.SoundGroupName).PlaySound((AudioClip)soundAsset, // playSoundParams); // if (soundAgent != null) // { // // } // else // { // //resourceManager.ReleaseSoundAsset(soundAsset); todo txy // Debuger.LogError(Utility.StringUtility.Format("Sound group '{0}' play sound '{1}' failure.",playSoundParams.SoundGroupName, soundAssetName)); // } }
private void LoadDataCallback(AbstractAssetInfo info, object userdata) { }