public static void MovedTouch(float x1, float y1, float x2, float y2) { switch (GameView.activeScene) { case "Multiplayer": Multiplayer.MovedTouch(x1, y1, x2, y2); break; case "MainMenu": MainMenu.MovedTouch(x1, y1, x2, y2); break; case "ModeSelect": ModeSelect.MovedTouch(x1, y1, x2, y2); break; case "Game_Solo": Game_Solo.MovedTouch(x1, y1, x2, y2); break; case "NumberSelect": NumberSelect.MovedTouch(x1, y1, x2, y2); break; case "Result_Solo": Result_Solo.MovedTouch(x1, y1, x2, y2); break; case "Rules": Rules.MovedTouch(x1, y1, x2, y2); break; default: break; } }