Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

PointerInputModule.StateForMouseButton

protected EventSystems.PointerEventData.FramePressState StateForMouseButton(int buttonId);

Parameters

buttonIdMouse Button id.

Description

Given a mouse button return the current state for the frame.

Did you find this page useful? Please give it a rating: