Run-and-capture/Assets/Scripts/TreeAttackObject.cs
2021-08-30 17:47:26 +03:00

14 lines
288 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TreeAttackObject : MonoBehaviour
{
// Start is called before the first frame update
private float liveTime = 2f;
void Start()
{
Destroy(gameObject, liveTime);
}
}