blob: 8fbc1917d0afcc1eb984d7e78d52dc9f4f5cf79c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
using System;
using UnityEngine;
public class GarbageBehaviour : MonoBehaviour
{
public void FixedUpdate()
{
if (base.transform.localPosition.y < -3.49f)
{
UnityEngine.Object.Destroy(base.gameObject);
}
}
}
|