Dumpintro implemented
This commit is contained in:
19
Assets/Scripts/Sound/AudioCollider.cs
Normal file
19
Assets/Scripts/Sound/AudioCollider.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class AudioCollider : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
|
||||
private void OnCollisionEnter2D(Collision2D collision)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void OnTriggerEnter2D(Collider2D collision)
|
||||
{
|
||||
Debug.Log("He's here!");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user