random position unity 2d code example Example: random position unity 2d transform.postion = new Victor2(Random.rage(Min,max),Random.rage(Min,max));