Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- random = convertGridToPoints (Random.Range(1, (100/2)/2));
- //Converts Random Grid To Co-ordinates - Should Be Always Returning Positive
- private float convertGridToPoints (float randGrid){
- float grid = randGrid * 2;
- randGrid = Mathf.RoundToInt(grid);
- return randGrid;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement