I'm using the code: Code (CSharp): int wipeLine; float wipeTimer; wipeLine = (Screen.width + 64) * wipeTimer; And getting the error: I guess I'm too used to JavaScript. I don't know how to resolve this issue in C#. The equation needs to calculate as a float and then change the final result into an int. How do I get it to do that?
Just cast the whole expression to an int: Code (CSharp): wipeLine = (int)((Screen.width + 64) * wipeTimer);