private void Update() { #if UNITY_EDITOR if (Input.GetKey(KeyCode.DownArrow)) { online.MoveScrollList(true); } if (Input.GetKey(KeyCode.UpArrow)) { online.MoveScrollList(false); } #endif if (TouchpadAxis.y < 0) { online.MoveScrollList(true); } if (TouchpadAxis.y > 0) { online.MoveScrollList(false); } }