Random Numbers in Unity3D? ... Random randomDirection = new Random(); int directionChoice = randomDirection.Next(1, 4);. inside of a function ...
確定! 回上一頁