12345678910111213141516171819202122 |
- using UnityEngine;
- using System.Collections;
- public class BombLengthCube : MonoBehaviour {
- void Start () {
-
- }
-
- void Update () {
-
- }
- void OnTriggerEnter(Collider other) {
-
- if (other.CompareTag ("Player")) {
- Destroy (gameObject);
- }
- }
- }
|