mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2024-12-18 21:44:51 +01:00
22 lines
358 B
C#
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");
|
||
|
}
|
||
|
}
|