20 lines
273 B
C#
20 lines
273 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class TidyObject : MonoBehaviour
|
|
{
|
|
|
|
public float removeTime = 3.0f;
|
|
// Use this for initialization
|
|
void Start()
|
|
{
|
|
Destroy(gameObject, removeTime);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|