This commit is contained in:
2025-05-13 05:18:03 +03:00
parent 0790b782f2
commit 2ca246b75c
1494 changed files with 22057 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
using UnityEngine;
using System.Collections;
public class Killer : MonoBehaviour {
void OnTriggerEnter (Collider other) {
Debug.Log ("Killing object: " + other.name);
other.gameObject.SendMessage ("OnKill", gameObject);
//Destroy(other.gameObject);
}
}