SoundHelperBase.cs 768 B

123456789101112131415161718192021222324
  1. //------------------------------------------------------------
  2. // Game Framework
  3. // Copyright © 2013-2021 loyalsoft. All rights reserved.
  4. // Homepage: http://www.game7000.com/
  5. // Feedback: http://www.game7000.com/
  6. //------------------------------------------------------------
  7. using GameFramework.Sound;
  8. using UnityEngine;
  9. namespace UnityGameFramework.Runtime
  10. {
  11. /// <summary>
  12. /// 声音辅助器基类。
  13. /// </summary>
  14. public abstract class SoundHelperBase : MonoBehaviour, ISoundHelper
  15. {
  16. /// <summary>
  17. /// 释放声音资源。
  18. /// </summary>
  19. /// <param name="soundAsset">要释放的声音资源。</param>
  20. public abstract void ReleaseSoundAsset(object soundAsset);
  21. }
  22. }