This commit is contained in:
2026-06-06 09:19:46 +07:00
parent 75b005c691
commit f70ddddf65
15 changed files with 1059 additions and 247 deletions

View File

@@ -1,3 +1,4 @@
using System;
using UnityEngine;
using Hallucinate.Audio;
using Invector;
@@ -64,6 +65,15 @@ public class LaserProjectile : MonoBehaviour
}
}
private void OnCollisionEnter(Collision other)
{
if (other.gameObject.layer == LayerMask.NameToLayer("Ground") || other.gameObject.tag == "Ground")
{
Impact();
return;
}
}
private void Impact()
{
// Chạy âm thanh

View File

@@ -1,16 +0,0 @@
using UnityEngine;
public class RagNPC : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 30cdc86fe97fa95428a4b31052cfb22f