Is there a type of variable you can use that appears like a Vector2 in the inspector, but for ints only? So the inspector displays two values on the same line beside each other, but they’re only ints, not floats.
I’d like to not have to convert the floats to ints at runtime, and it’d be handy to not just have two separate int values. Thanks!
If i were you I’d simply do a public Vector2 and only write ints in it. If you are talking for editor scripting there are other ways, but if not simply convert the floats to ints in the start (that should work)… since the inspector is set obviously before playing.