void Update() { if (Input.GetKeyDown(KeyCode.Q)) { scrollPane.ScrollRight(-1, true); } if (Input.GetKeyDown(KeyCode.E)) { scrollPane.ScrollRight(1, true); } }
public void Leftslide() { scrollPane.ScrollRight(-1, true); }