Initial commit

This commit is contained in:
Lncvrt committed 2025-10-04 11:20:33 -07:00
commit 89c3c2f625
234 files changed
+85827

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
using UnityEngine;
public class BulletCleanup : MonoBehaviour
{
void Update()
{
Vector3 screenPos = Camera.main.WorldToViewportPoint(transform.position);
if (screenPos.x < 0f || screenPos.x > 1f || screenPos.y < 0f || screenPos.y > 1f) Destroy(gameObject);
}
}