21 lines
		
	
	
		
			699 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			699 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| #if FMOD
 | |
| namespace NEG.UI.UnityUi.Buttons.Reaction
 | |
| {
 | |
|     public class SimpleSoundBehaviour : ButtonElementBehaviour
 | |
|     {
 | |
|         public SimpleSoundBehaviour(BaseButton baseButton, FmodSoundData data) : base(baseButton, data)
 | |
|         {
 | |
|             //TODO: use silnet to not play sound
 | |
|         }
 | |
| 
 | |
|         [FactoryRegistration]
 | |
|         private static void RegisterInFactory() =>
 | |
|             MonoUiManager.Instance.BehavioursFactory.Register("SimpleSound", typeof(SimpleSoundBehaviour));
 | |
| 
 | |
|         public override void ChangeData(SettingData newData) => throw new System.NotImplementedException();
 | |
| 
 | |
|         public override void Dispose() => throw new System.NotImplementedException();
 | |
|     }
 | |
| }
 | |
| 
 | |
| #endif |