This commit is contained in:
2025-05-13 05:05:49 +03:00
parent a68d9ccb42
commit 235216efe2
606 changed files with 684027 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
using UnityEngine;
using System.Collections;
public class SoundTable : MonoBehaviour {
public MaterialSounds[] materialSounds;
public MaterialSounds FindSounds(MaterialType mat){
if (materialSounds == null || materialSounds.Length < 1) {
return null;
}
foreach (var list in materialSounds) {
if(list.materialType == mat){
return list;
}
}
return null;
}
}