using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RandomNumber : MonoBehaviour
{
private float textimer;
public float time = 3f;
public GameObject[] govno;
// Start is called before the first frame update
void Start()
{
textimer += Time.deltaTime;
if (textimer >= time)
{
Instantiate(govno[0]);
}
}
// Update is called once per frame
void Update()
{
}
}