Hey there fellow game devs, so I am probably being really stupid here, but I need a way to check all the numbers in between x and y.
For example, say that x=10 and y=1. I need a way to check if ____ is equal to all the numbers between 10 and 1. There's probably a really easy math function to do this, but I can't seem to figure this out. Thanks for your help, and sorry if my question is dumb...
For example, say that x=10 and y=1. I need a way to check if ____ is equal to all the numbers between 10 and 1. There's probably a really easy math function to do this, but I can't seem to figure this out. Thanks for your help, and sorry if my question is dumb...