SCAudiosConfig.cs 993 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using System;
  5. [CreateAssetMenu(menuName = "SCMenu/SCAudiosConfig")]
  6. public class SCAudiosConfig:ScriptableObject {
  7. public enum AudioType {
  8. Null,
  9. ButtonPress,
  10. ButtonUnpress,
  11. Manipulation_End,
  12. Manipulation_Start,
  13. Move_End,
  14. Move_Start,
  15. Notification,
  16. Rotate_Start,
  17. Rotate_Stop,
  18. Scale_Start,
  19. Scale_Stop,
  20. Select_Main,
  21. Select_Secondary,
  22. Shell_Click_In,
  23. Shell_Click_Init,
  24. Shell_Click_Out,
  25. Slate_Grab,
  26. Slate_Release,
  27. Slate_Touch,
  28. Slider_Pass_Notch,
  29. Slider_Release,
  30. Tap,
  31. Voice_Confirmation,
  32. }
  33. [Serializable]
  34. public class SCAudio {
  35. public AudioType audioType;
  36. public AudioClip audioClip;
  37. [Range(0.2f, 1)]
  38. public float volume = 1;
  39. }
  40. public List<SCAudio> SCAudioList;
  41. }