Hello, I’m trying to make script for birds and I want each bird to fly in random direction, but they all fly in the same direction. Here is the script:
string direction;
void Awake () {
if (Random.Range(1,2) == 1)
{
direction = "up";
}
else
{
direction = "down";
}
}