17 lines
276 B
C#
17 lines
276 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 () {
|
|
|
|
}
|
|
}
|