There seems to be no bitwise zerofill shifter >>> in UnityScript. Is there a funtional equivalent to this somewhere? Thanks…
Each shift right is just division by 2. Shifting by 3 is the same as integer division by 2^3:
// var res : int = x >> shiftBy;
var res : int = x / Mathf.pos(2, shiftBy);