diff --git a/Assets/Metal-Pipe.mp3 b/Assets/Metal-Pipe.mp3 new file mode 100644 index 0000000..288c90b Binary files /dev/null and b/Assets/Metal-Pipe.mp3 differ diff --git a/Assets/Metal-Pipe.mp3.meta b/Assets/Metal-Pipe.mp3.meta new file mode 100644 index 0000000..f204a87 --- /dev/null +++ b/Assets/Metal-Pipe.mp3.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 2f2aa64d405e14e95aee0dd410072bf6 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Models.meta b/Assets/Models.meta new file mode 100644 index 0000000..dc3b802 --- /dev/null +++ b/Assets/Models.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6ebfe03beb50948f4a91cf3dad5f9cab +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ArachBox.fbx b/Assets/Models/ArachBox.fbx similarity index 100% rename from Assets/ArachBox.fbx rename to Assets/Models/ArachBox.fbx diff --git a/Assets/ArachBox.fbx.meta b/Assets/Models/ArachBox.fbx.meta similarity index 100% rename from Assets/ArachBox.fbx.meta rename to Assets/Models/ArachBox.fbx.meta diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 7c687d3..62fd355 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -19,6 +19,9 @@ public class PlayerController : MonoBehaviour public Vector3 moveDirection; public Rigidbody rb; + [Header("Audio")] + public AudioSource metalPipe; + void Start() { @@ -47,6 +50,7 @@ public class PlayerController : MonoBehaviour if (collision.gameObject.name == "Enemy") { Debug.Log("OWIE"); + metalPipe.Play(); } } }