private int SetObjectCoordinate(int newCoord) { if (IsHighResGameWithLowResScript()) { // Round co-ordinate to nearest even number to reflect what // will happen in the engine newCoord = (newCoord / 2) * 2; } return newCoord; }