mirror of
				https://github.com/DerTyp7/defrain-shooter-unity.git
				synced 2025-11-03 22:58:59 +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;
 | 
						|
}
 |