Hello, Can someone tell me how I can make my player enter one door and come out from a random door (like 50 percent chance of coming out from doorA or doorB) . I can make the player come out from only one door.

I ned to know how i can select an random door for the player to come out from.

If you just want to get random value you can use Random.Range(min,max) and Mathf.Round(number) methods. Example:

int randomNumber = (int) Mathf.Round(Random.Range(0,1));
if (randomNumber == 0)
else if (randomNumber == 1)