mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-10-30 21:17:09 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			312 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			312 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using UnityEngine.Audio;
 | |
| using UnityEngine;
 | |
| 
 | |
| [System.Serializable]
 | |
| public class Sound
 | |
| {
 | |
|     public string name;
 | |
| 
 | |
|     public AudioClip clip;
 | |
| 
 | |
|     [Range(0f, 1f)]
 | |
|     public float volume;
 | |
| 
 | |
|     [Range (.1f, 3f)]
 | |
|     public float pitch;
 | |
| 
 | |
|     [HideInInspector]
 | |
|     public AudioSource source;
 | |
| 
 | |
|     public bool loop;
 | |
| }
 | 
