Files
SpaceDroid/My project/Assets/Script/Black Hole.cs
2025-01-17 13:10:42 +01:00

13 lines
205 B
C#

using System;
using UnityEngine;
public class Black_Hole : MonoBehaviour
{
void Start()
{
}
private void OnTriggerEnter(Collider other)
{
Destroy(other.gameObject);
}
}