1
I need to perform this function - which creates a randomized platform in a randomized position - every 3 seconds . How does??
void CreatePlatform()
{
System.Random random = new System.Random();
int vectorNumber = random.Next(0, 5);
Vector3 position = new Vector3(0, UnityEngine.Random.Range(-6.0f, 6f), 0);
Instantiate(plataforms[VectorNumber], position, Quaternion.Euler(new Vector3(6,6,0)));
}
Thank you.
Thank you!!!!!!
– CristhianSelbach
For nothing, arrange :)
– Pedro Paulo