Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i - переменная типа int;
- 1) int x = Mathf.Round(rectNormal.x) + 5 + ((i % 4) * 80);
- 2) int y = Mathf.Round((i / 5f) + 0.5f) * 5;
- Проблема:
- Cannot implicitly convert type `float' to `int'. An explicit conversion exists (are you missing a cast?)
- в обоих строчках.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement