test
This commit is contained in:
13
My project/Assets/Script/Black Hole.cs
Normal file
13
My project/Assets/Script/Black Hole.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
public class Black_Hole : MonoBehaviour
|
||||
{
|
||||
void Start()
|
||||
{
|
||||
}
|
||||
private void OnTriggerEnter(Collider other)
|
||||
{
|
||||
Destroy(other.gameObject);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user