Answer the question
In order to leave comments, you need to log in
Why doesn't it spawn?
Why doesn't it spawn?
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()
{
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question