]> git.lizzy.rs Git - SuperMouseAdventure.git/blob - 2DGame/Assets/Scripts/Maus/Abyss.cs
c9c8f3ed67b7242f770ed409ff56fafcd4f86ef7
[SuperMouseAdventure.git] / 2DGame / Assets / Scripts / Maus / Abyss.cs
1 using System.Collections;
2 using System.Collections.Generic;
3 using UnityEngine;
4
5 public class Abyss : MonoBehaviour
6 {
7     public bool fallenDown;
8
9     // Start is called before the first frame update
10     void Start()
11     {
12         
13     }
14
15     // Update is called once per frame
16     void Update()
17     {
18
19     }
20
21     private void OnTriggerEnter2D(Collider2D collision)
22     {
23         if(collision.CompareTag("Abyss"))
24         {
25             fallenDown = true;
26         }
27     }
28 }