public static void slideLeftRight(float transTime, ref GUIArea exit, ref GUIArea enter) { exit.exitLeft(transTime); enter.enterRight(transTime); }