M VINCENT PETT d8e3cd824d
feat: add assets + obstacle (#26)
Co-authored-by: Théo LUDWIG <contact@theoludwig.fr>
2024-12-16 15:10:08 +01:00

22 lines
358 B
C#

using UnityEngine;
public class Obstacle : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void OnTriggerEnter2D(Collider2D collision)
{
Debug.Log("Test");
}
}