Legacy Documentation: Version 2018.2 (Go to current version)
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: