void DoTouchpadClicked(object sender, ControllerClickedEventArgs e) { if (!pointerContactTarget || !pointerContactTarget.GetComponent <TilePane> ()) { return; } if (m_TileInfo && m_TileInfo.activeSelf) { if (e.touchpadAxis.y > 0.4f) { m_TxtInfo.Down(); } else if (e.touchpadAxis.y < -0.4f) { m_TxtInfo.Up(); } } }