Answer the question
In order to leave comments, you need to log in
Can't create an instance of the Random class?
using System.Collections;
using System.Runtime;
using System.Collections.Generic;
using UnityEngine;
public class SpawningClickiongETC : MonoBehaviour
{
Random rnd = new Random();
}
Answer the question
In order to leave comments, you need to log in
You don't have a System in your usings, so some Random is imported from the unit.
Try to writeSystem.Random rnd = new System.Random();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question