Itβs better to just use a temporary variable.
This will allow you to see this in the debug windows, but also allow you to set a breakpoint and perform cleanliness for each function individually.
By doing the following:
var randomInt = GetRandomInt(); CycleTushKicker(randomInt);
You actually create the exact same code, but it is much easier to debug.
Reed copsey
source share