Wolter sound FX

This commit is contained in:
2025-10-20 17:05:24 +02:00
parent e3e9305f7c
commit 1b0a206be7
16 changed files with 329 additions and 17 deletions

View File

@@ -0,0 +1,25 @@
using UnityEngine;
public class ProximitySoundReaction : MonoBehaviour
{
private Collider2D _collider;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
_collider = GetComponent<Collider2D>();
}
private void OnCollisionEnter2D(Collision2D collision)
{
Debug.Log("overlap!");
}
private void OnTriggerEnter2D(Collider2D collision)
{
Debug.Log("Wolter triggered!");
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: ae25a005dc7176f4daddbb82ec00adcd