Answer the question
In order to leave comments, you need to log in
How to solve these errors with rand?
Have a question how to fix it? <
private float textimer;
public float time = 3f;
public GameObject govno;
private bool provoda = true;
public float s;
public float r;
float res = rand.Next(array.Length);
private Vector3[] coords = new Vector3[3] { new Vector3(-4.39f, 5.83f, 90.4f), new Vector3(-1.7f, 5.83f, 90.4f), new Vector3(0.52f, 5.83f, 90.4f) };
IEnumerator Da()
{
while (provoda==true)
{
int randomNumber = Random.Range(0, coords.Length);
Instantiate(Object, coords[randomNumber]);
}
}
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