This commit is contained in:
2023-06-20 19:28:02 +03:00
commit 8e026f90cf
107 changed files with 7639 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoxesController : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.tag == "Player")
{
Destroy(gameObject);
}
}
}