I do not understand how too get my main button to choice randomly ?
Take a look at the Random.Range documentation.
string GetRandomAnswers()
{
return Random.Range(0,2) == 1 ? "yes": "no";
}
I do not understand how too get my main button to choice randomly ?
Take a look at the Random.Range documentation.
string GetRandomAnswers()
{
return Random.Range(0,2) == 1 ? "yes": "no";
}